X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=pico%2Fcd%2Fcdd.c;h=35edaa80ff4db97c8ac204e398384fb329ab6e98;hb=fda2f31020bf0d6cf7b5dd70ec01cf390b7e1483;hp=c6b24b8219a1f1bc776bdcbaad17e4c70042a518;hpb=f47d0a28983cc999d2cc9d050b4badcd41652c27;p=picodrive.git diff --git a/pico/cd/cdd.c b/pico/cd/cdd.c index c6b24b8..35edaa8 100644 --- a/pico/cd/cdd.c +++ b/pico/cd/cdd.c @@ -122,12 +122,14 @@ static const uint32 toc_ffightj[29] = 14553, 9834, 10542, 1699, 1792, 1781, 3783, 3052 }; +#if 0 /* supported WAVE file header (16-bit stereo samples @44.1kHz) */ static const unsigned char waveHeader[32] = { 0x57,0x41,0x56,0x45,0x66,0x6d,0x74,0x20,0x10,0x00,0x00,0x00,0x01,0x00,0x02,0x00, 0x44,0xac,0x00,0x00,0x10,0xb1,0x02,0x00,0x04,0x00,0x10,0x00,0x64,0x61,0x74,0x61 }; +#endif #ifdef USE_LIBTREMOR #ifdef DISABLE_MANY_OGG_OPEN_FILES @@ -1295,8 +1297,8 @@ void cdd_process(void) set_reg16(0x3e, 0x0000); set_reg16(0x40, 0x000f); - if (PicoMCDcloseTray) - PicoMCDcloseTray(); + if (PicoIn.mcdTrayClose) + PicoIn.mcdTrayClose(); return; } @@ -1314,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; }