X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=apu.cpp;h=911e64eecdabc6aee9811fec8580c9d2db99d052;hb=6f057a6bc74f3f422ffc8f8439b1b205ebef66e5;hp=f86acaa49c4778dae79116a840fa3c1cefbff8a0;hpb=3ddd6d5ea2811b783bf349c8947cf1bbaaf3c8b9;p=drnoksnes diff --git a/apu.cpp b/apu.cpp index f86acaa..911e64e 100644 --- a/apu.cpp +++ b/apu.cpp @@ -45,9 +45,6 @@ #include "soundux.h" #include "cpuexec.h" -/* For note-triggered SPC dump support */ -//#include "snapshot.h" - //extern int NoiseFreq [32]; #ifdef DEBUGGER void S9xTraceSoundDSP (const char *s, int i1 = 0, int i2 = 0, int i3 = 0, @@ -479,18 +476,6 @@ void S9xSetAPUDSP (uint8 byte) static uint8 KeyOn; static uint8 KeyOnPrev; int i; - -/* char str[64]; - if (byte!=0) - { - sprintf(str,"fr : %d\nwrite dsp %d\ncpu cycle=%d pc=%04X",framecpto,byte,CPU.Cycles,CPU.PC-CPU.PCBase); - S9xMessage(0,0,str); - gp32_pause(); - }*/ - - //extern uint8 spc_dump_dsp[0x100]; - - //spc_dump_dsp[reg] = byte; switch (reg) { @@ -713,7 +698,7 @@ void S9xSetAPUDSP (uint8 byte) S9xTraceSoundDSP ("\n"); #endif } - //spc_is_dumping_temp = byte; + return; case APU_VOL_LEFT + 0x00: