Display the savestate slot number when saving and loading state through shortcuts.

This commit is contained in:
Henrik Rydgård committed 2020-05-16 15:20:22 +02:00
1 parent a63706925f
commit 5e7a837ff9
5 files changed
+25 -21

No files matched your search

+2 -2
View File
@@ -632,14 +632,14 @@ namespace MainWindow {
case ID_FILE_LOADSTATEFILE:
if (W32Util::BrowseForFileName(true, hWnd, L"Load state", 0, L"Save States (*.ppst)\0*.ppst\0All files\0*.*\0\0", L"ppst", fn)) {
SetCursor(LoadCursor(0, IDC_WAIT));
SaveState::Load(fn, SaveStateActionFinished);
SaveState::Load(fn, -1, SaveStateActionFinished);
}
break;
case ID_FILE_SAVESTATEFILE:
if (W32Util::BrowseForFileName(false, hWnd, L"Save state", 0, L"Save States (*.ppst)\0*.ppst\0All files\0*.*\0\0", L"ppst", fn)) {
SetCursor(LoadCursor(0, IDC_WAIT));
SaveState::Save(fn, SaveStateActionFinished);
SaveState::Save(fn, -1, SaveStateActionFinished);
}
break;