Block savestates OSM when video frames are dumped.

Also make the dump messages shorter,
especially dump start since it will be recorded.
This commit is contained in:
LunaMoo committed 2019-05-27 23:43:39 +02:00
1 parent 738b38a109
commit 57bd3c63f4
4 files changed
+7 -7

No files matched your search

+1 -1
View File
@@ -447,7 +447,7 @@ namespace MainWindow {
}
static void SaveStateActionFinished(SaveState::Status status, const std::string &message, void *userdata) {
if (!message.empty()) {
if (!message.empty() && !g_Config.bDumpFrames) {
osm.Show(message, status == SaveState::Status::SUCCESS ? 2.0 : 5.0);
}
PostMessage(MainWindow::GetHWND(), WM_USER_SAVESTATE_FINISH, 0, 0);