move more globals to PicoInterface

similar reasons as before
This commit is contained in:
notaz 2017-10-22 02:04:26 +03:00
parent 075672bf9f
commit 6311a3baf5
27 changed files with 244 additions and 247 deletions

View file

@ -1297,8 +1297,8 @@ void cdd_process(void)
set_reg16(0x3e, 0x0000);
set_reg16(0x40, 0x000f);
if (PicoMCDcloseTray)
PicoMCDcloseTray();
if (PicoIn.mcdTrayClose)
PicoIn.mcdTrayClose();
return;
}
@ -1316,8 +1316,8 @@ void cdd_process(void)
set_reg16(0x3e, 0x0000);
set_reg16(0x40, ~CD_OPEN & 0x0f);
if (PicoMCDopenTray)
PicoMCDopenTray();
if (PicoIn.mcdTrayOpen)
PicoIn.mcdTrayOpen();
return;
}

View file

@ -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)
{