Sound Recorder: Allow recording to continue after a reset (or track change in NSF files)
This commit is contained in:
parent
e2e099bdf3
commit
7bbe0b1388
1 changed files with 3 additions and 2 deletions
|
@ -219,7 +219,9 @@ void Console::Reset(bool softReset)
|
|||
void Console::ResetComponents(bool softReset)
|
||||
{
|
||||
Movie::Stop();
|
||||
SoundMixer::StopRecording();
|
||||
if(!softReset) {
|
||||
SoundMixer::StopRecording();
|
||||
}
|
||||
|
||||
_memoryManager->Reset(softReset);
|
||||
if(!EmulationSettings::CheckFlag(EmulationFlags::DisablePpuReset) || !softReset) {
|
||||
|
@ -312,7 +314,6 @@ void Console::Run()
|
|||
//Used by NSF player to reset console after changing track
|
||||
//Also used with DisablePpuReset option to reset mid-frame
|
||||
Movie::Stop();
|
||||
SoundMixer::StopRecording();
|
||||
ResetComponents(true);
|
||||
_resetRequested = false;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue