Update of /cvsroot/lapetus/lapetus
In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv16098
Modified Files:
lapetus.c
Log Message:
-Couple of code tweaks
Index: lapetus.c
===================================================================
RCS file: /cvsroot/lapetus/lapetus/lapetus.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- lapetus.c 9 Jan 2008 05:03:44 -0000 1.2
+++ lapetus.c 12 Jan 2008 18:16:23 -0000 1.3
@@ -46,8 +46,9 @@
DebugInit();
#endif
- // Unpause and stop dsp
- SCUREG_PPAF = 0x4000000;
+ // If DSP is running, stop it
+ if (DSPIsExec())
+ DSPStop();
if (InterruptGetLevelMask() > 0x7)
InterruptSetLevelMask(0x7);
|