mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 07:17:45 -04:00
audio: added SSG-EG to YM2612, plus some timing changes for SN76496+YM2612
This commit is contained in:
parent
2a942f0d41
commit
8ac9ab7fcb
13 changed files with 571 additions and 455 deletions
|
@ -320,16 +320,12 @@ void PicoFrameMS(void)
|
|||
}
|
||||
}
|
||||
|
||||
// 224 because of how it's done for MD...
|
||||
if (y == 224 && PicoIn.sndOut)
|
||||
PsndGetSamplesMS();
|
||||
|
||||
cycles_aim += cycles_line;
|
||||
cycles_done += z80_run((cycles_aim - cycles_done) >> 8) << 8;
|
||||
}
|
||||
|
||||
if (PicoIn.sndOut && Pico.snd.psg_line < lines)
|
||||
PsndDoPSG(lines - 1);
|
||||
if (PicoIn.sndOut)
|
||||
PsndGetSamplesMS(lines);
|
||||
}
|
||||
|
||||
void PicoFrameDrawOnlyMS(void)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue