Video Common: Improve texture dumping to work with fifoci and

fifo_comparer
This commit is contained in:
iwubcode
2017-09-13 23:46:30 -05:00
parent 53684701fa
commit a129a53e56
5 changed files with 51 additions and 20 deletions

View File

@ -393,7 +393,7 @@ static void CpuThread()
s_is_started = false;
if (!_CoreParameter.bCPUThread)
g_video_backend->Video_Cleanup();
g_video_backend->Video_CleanupShared();
if (_CoreParameter.bFastmem)
EMM::UninstallExceptionHandler();
@ -445,7 +445,7 @@ static void FifoPlayerThread()
}
if (!_CoreParameter.bCPUThread)
g_video_backend->Video_Cleanup();
g_video_backend->Video_CleanupShared();
}
// Initialize and create emulation thread
@ -654,7 +654,7 @@ static void EmuThread(std::unique_ptr<BootParameters> boot)
INFO_LOG(CONSOLE, "%s", StopMessage(true, "CPU thread stopped.").c_str());
if (core_parameter.bCPUThread)
g_video_backend->Video_Cleanup();
g_video_backend->Video_CleanupShared();
// If we shut down normally, the stop message does not need to be triggered.
stop_message_guard.Dismiss();