X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=spc700.cpp;h=a1c1683b15a0ae8127468ccc3a273297fd19c2d1;hb=HEAD;hp=d452687c0360faf364ffa882833421fc6d816455;hpb=d32fb75f49f2e8d63e1826e249c6bf9d54546ed3;p=drnoksnes diff --git a/spc700.cpp b/spc700.cpp index d452687..a1c1683 100644 --- a/spc700.cpp +++ b/spc700.cpp @@ -40,7 +40,6 @@ */ #include "snes9x.h" #include "memmap.h" -#include "display.h" #include "cpuexec.h" #include "apu.h" #include "spc700.h" @@ -118,7 +117,7 @@ void STOP (char *s) S9xAPUOPrint (buffer, IAPU.PC - IAPU.RAM); #endif - sprintf (String, "Sound CPU in unknown state executing %s at %p\n%s\n", s, IAPU.PC - IAPU.RAM, buffer); + sprintf (String, "Sound CPU in unknown state executing %s at 0x%tx\n%s\n", s, IAPU.PC - IAPU.RAM, buffer); S9xMessage (S9X_ERROR, S9X_APU_STOPPED, String); APU.TimerEnabled[0] = APU.TimerEnabled[1] = APU.TimerEnabled[2] = FALSE; CPU.APU_APUExecuting = FALSE;