X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=pico%2Fcd%2Fcdd.c;fp=pico%2Fcd%2Fcdd.c;h=35edaa80ff4db97c8ac204e398384fb329ab6e98;hb=6311a3baf533d4a034e51dfe38e8cb213a1bf442;hp=501d09e80741358610a3e72aebbd07e8c534aac0;hpb=075672bf9f028490174bd3fbebe957a47a10b09d;p=picodrive.git diff --git a/pico/cd/cdd.c b/pico/cd/cdd.c index 501d09e..35edaa8 100644 --- a/pico/cd/cdd.c +++ b/pico/cd/cdd.c @@ -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; }