mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 07:17:45 -04:00
sound, fix pcm/pwm handling wrt fast forward (mcd, 32x, pico)
This commit is contained in:
parent
8eada9d64c
commit
9f1d5acdb4
5 changed files with 35 additions and 19 deletions
|
@ -986,7 +986,7 @@ void emu_set_fastforward(int set_on)
|
|||
set_EmuOpt = currentConfig.EmuOpt;
|
||||
PicoIn.sndOut = NULL;
|
||||
currentConfig.Frameskip = 8;
|
||||
currentConfig.EmuOpt &= ~4;
|
||||
currentConfig.EmuOpt &= ~EOPT_EN_SOUND;
|
||||
currentConfig.EmuOpt |= EOPT_NO_FRMLIMIT;
|
||||
is_on = 1;
|
||||
emu_status_msg("FAST FORWARD");
|
||||
|
@ -997,9 +997,6 @@ void emu_set_fastforward(int set_on)
|
|||
currentConfig.EmuOpt = set_EmuOpt;
|
||||
PsndRerate(1);
|
||||
is_on = 0;
|
||||
// mainly to unbreak pcm
|
||||
if (PicoIn.AHW & PAHW_MCD)
|
||||
pcd_state_loaded();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue