drc: support ms ABI
[picodrive.git] / pico / debugCPU.c
index 36e71a7..128f414 100644 (file)
@@ -30,6 +30,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