X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=pico%2FdebugCPU.c;h=128f4144385281b999a0c21cedf3a4ab8f89e7fb;hb=fda2f31020bf0d6cf7b5dd70ec01cf390b7e1483;hp=36e71a7c20998747b73e321a65b58363e1fe95a3;hpb=12f23dac6f91eb707f985ef00a5d48e9e5ef8838;p=picodrive.git diff --git a/pico/debugCPU.c b/pico/debugCPU.c index 36e71a7..128f414 100644 --- a/pico/debugCPU.c +++ b/pico/debugCPU.c @@ -30,6 +30,7 @@ static struct Cyclone *currentC68k = NULL; #define other_is_stopped() (currentC68k->state_flags&1) #define other_is_tracing() ((currentC68k->state_flags&2)?1:0) #elif defined(EMU_F68K) +static struct M68K_CONTEXT *g_m68kcontext; #define other_set_sub(s) g_m68kcontext=(s)?&PicoCpuFS68k:&PicoCpuFM68k; #define other_get_sr() g_m68kcontext->sr #define other_dar(i) ((unsigned int*)g_m68kcontext->dreg)[i]