mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
move more globals to PicoInterface
similar reasons as before
This commit is contained in:
parent
075672bf9f
commit
6311a3baf5
27 changed files with 244 additions and 247 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue