History Viewer: Allow viewer to pause at the end of the video even if the debugger was active when the viewer was opened

This commit is contained in:
Sour 2018-08-06 18:32:54 -04:00
parent 7247b0cb4b
commit 2e99f5aac1

View file

@ -207,7 +207,7 @@ namespace InteropEmu {
//Force some settings
_historyConsole->GetSettings()->SetEmulationSpeed(100);
_historyConsole->GetSettings()->SetVideoScale(2);
_historyConsole->GetSettings()->ClearFlags(EmulationFlags::InBackground | EmulationFlags::Rewind | EmulationFlags::ForceMaxSpeed);
_historyConsole->GetSettings()->ClearFlags(EmulationFlags::InBackground | EmulationFlags::Rewind | EmulationFlags::ForceMaxSpeed | EmulationFlags::DebuggerWindowEnabled);
#ifdef _WIN32
_historyRenderer.reset(new Renderer(_historyConsole, (HWND)viewerHandle, false));