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
|
@ -387,14 +387,14 @@ void PDebugZ80Frame(void)
|
|||
|
||||
if (/*Pico.m.z80Run &&*/ !Pico.m.z80_reset && (PicoIn.opt&POPT_EN_Z80))
|
||||
PicoSyncZ80(Pico.t.m68c_cnt + line_sample * 488);
|
||||
if (PsndOut)
|
||||
if (PicoIn.sndOut)
|
||||
PsndGetSamples(line_sample);
|
||||
|
||||
if (/*Pico.m.z80Run &&*/ !Pico.m.z80_reset && (PicoIn.opt&POPT_EN_Z80)) {
|
||||
PicoSyncZ80(Pico.t.m68c_cnt + 224 * 488);
|
||||
z80_int();
|
||||
}
|
||||
if (PsndOut)
|
||||
if (PicoIn.sndOut)
|
||||
PsndGetSamples(224);
|
||||
|
||||
// sync z80
|
||||
|
@ -402,7 +402,7 @@ void PDebugZ80Frame(void)
|
|||
Pico.t.m68c_cnt += Pico.m.pal ? 151809 : 127671; // cycles adjusted for converter
|
||||
PicoSyncZ80(Pico.t.m68c_cnt);
|
||||
}
|
||||
if (PsndOut && ym2612.dacen && PsndDacLine < lines)
|
||||
if (PicoIn.sndOut && ym2612.dacen && Pico.snd.dac_line < lines)
|
||||
PsndDoDAC(lines - 1);
|
||||
PsndDoPSG(lines - 1);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue