X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=pico%2Fcd%2Fmcd.c;h=5e3629a3621240d338b6e1eba647826e0de32b15;hb=6311a3baf533d4a034e51dfe38e8cb213a1bf442;hp=929b57f398f1e8200333018618afe3dcd01d8e5c;hpb=12f23dac6f91eb707f985ef00a5d48e9e5ef8838;p=picodrive.git diff --git a/pico/cd/mcd.c b/pico/cd/mcd.c index 929b57f..5e3629a 100644 --- a/pico/cd/mcd.c +++ b/pico/cd/mcd.c @@ -15,9 +15,6 @@ static unsigned int mcd_m68k_cycle_mult; static unsigned int mcd_m68k_cycle_base; static unsigned int mcd_s68k_cycle_base; -void (*PicoMCDopenTray)(void) = NULL; -void (*PicoMCDcloseTray)(void) = NULL; - PICO_INTERNAL void PicoInitMCD(void) { @@ -79,7 +76,7 @@ PICO_INTERNAL int PicoResetMCD(void) // reset button doesn't affect MCD hardware // use Pico.sv.data for RAM cart - if (PicoOpt & POPT_EN_MCD_RAMCART) { + if (PicoIn.opt & POPT_EN_MCD_RAMCART) { if (Pico.sv.data == NULL) Pico.sv.data = calloc(1, 0x12000); } @@ -139,7 +136,6 @@ static void SekRunS68k(unsigned int to) m68k_set_context(&PicoCpuMM68k); #elif defined(EMU_F68K) SekCycleCntS68k += fm68k_emulate(&PicoCpuFS68k, cyc_do, 0) - cyc_do; - g_m68kcontext = &PicoCpuFM68k; #endif }