case 0x40:
case 0x41:
- if ((d & 0x90) == 0x90 && PsndPsgLine < Pico.m.scanline)
+ if ((d & 0x90) == 0x90 && Pico.snd.psg_line < Pico.m.scanline)
PsndDoPSG(Pico.m.scanline);
SN76496Write(d);
break;
}
// 224 because of how it's done for MD...
- if (y == 224 && PsndOut)
+ if (y == 224 && PicoIn.sndOut)
PsndGetSamplesMS();
cycles_aim += cycles_line;
cycles_done += z80_run((cycles_aim - cycles_done) >> 8) << 8;
}
- if (PsndOut && PsndPsgLine < lines)
+ if (PicoIn.sndOut && Pico.snd.psg_line < lines)
PsndDoPSG(lines - 1);
}