X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Pico%2FMemoryCmn.c;h=4b5620dac192317c779d4f62711b719be6f96007;hb=43e6eaad0b73b37907be3342e0fd4cf65919e9f6;hp=2cf8e8d3ca9ab24ebe49b0043f4031badf0a4308;hpb=4b9c58882616c5205a5ad5c9350f20a3d22bd7e1;p=picodrive.git diff --git a/Pico/MemoryCmn.c b/Pico/MemoryCmn.c index 2cf8e8d..4b5620d 100644 --- a/Pico/MemoryCmn.c +++ b/Pico/MemoryCmn.c @@ -114,9 +114,8 @@ u32 OtherRead16(u32 a, int realsize) elprintf(EL_ANOMALY, "68k z80 read with no bus! [%06x] @ %06x", a, SekPc); if ((a&0x4000)==0x0000) { d=z80Read8(a); d|=d<<8; goto end; } // Z80 ram (not byteswaped) if ((a&0x6000)==0x4000) { // 0x4000-0x5fff, Fudge if disabled - if(PicoOpt&POPT_EN_FM) d=YM2612Read(); + if (PicoOpt&POPT_EN_FM) d=ym2612_read_local_68k(); else d=Pico.m.rotate++&3; - elprintf(EL_YM2612R, "read ym2612: %02x", d); goto end; } elprintf(EL_ANOMALY, "68k bad read [%06x]", a);