platform ps2, handle audio similar to psp
[picodrive.git] / pico / debugCPU.c
index 36e71a7..caf75f2 100644 (file)
@@ -8,7 +8,6 @@
 \r
 #include "pico_int.h"\r
 \r
-typedef unsigned char  u8;\r
 \r
 static unsigned int pppc, ops=0;\r
 extern unsigned int lastread_a, lastread_d[16], lastwrite_cyc_d[16], lastwrite_mus_d[16];\r
@@ -30,6 +29,7 @@ static struct Cyclone *currentC68k = NULL;
 #define other_is_stopped()  (currentC68k->state_flags&1)\r
 #define other_is_tracing() ((currentC68k->state_flags&2)?1:0)\r
 #elif defined(EMU_F68K)\r
+static struct M68K_CONTEXT *g_m68kcontext;\r
 #define other_set_sub(s)   g_m68kcontext=(s)?&PicoCpuFS68k:&PicoCpuFM68k;\r
 #define other_get_sr()     g_m68kcontext->sr\r
 #define other_dar(i)       ((unsigned int*)g_m68kcontext->dreg)[i]\r