mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
ui, revisit menu
This commit is contained in:
parent
f1e31ac6d4
commit
a990d9c434
7 changed files with 42 additions and 21 deletions
|
@ -1316,7 +1316,7 @@ bool retro_load_game(const struct retro_game_info *info)
|
|||
PicoIn.writeSound = snd_write;
|
||||
memset(sndBuffer, 0, sizeof(sndBuffer));
|
||||
PicoIn.sndOut = sndBuffer;
|
||||
if (PicoIn.sndRate > 52000)
|
||||
if (PicoIn.sndRate > 52000 && PicoIn.sndRate < 54000)
|
||||
PicoIn.sndRate = YM2612_NATIVE_RATE();
|
||||
PsndRerate(0);
|
||||
|
||||
|
@ -1577,7 +1577,7 @@ static void update_variables(bool first_run)
|
|||
{
|
||||
PicoDetectRegion();
|
||||
PicoLoopPrepare();
|
||||
if (PicoIn.sndRate > 52000)
|
||||
if (PicoIn.sndRate > 52000 && PicoIn.sndRate < 54000)
|
||||
PicoIn.sndRate = YM2612_NATIVE_RATE();
|
||||
PsndRerate(!first_run);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue