mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-07-11 09:35:09 +02:00
SaveState: Show warning on old / long use state.
Using save states instead of in game saves causes bugs in games, and preserves bugs from bad settings and old PPSSPP versions. This tells users when they might be affected.
This commit is contained in:
@@ -470,9 +470,9 @@ namespace MainWindow {
|
||||
g_Config.iInternalScreenRotation = rotation;
|
||||
}
|
||||
|
||||
static void SaveStateActionFinished(bool result, const std::string &message, void *userdata) {
|
||||
static void SaveStateActionFinished(SaveState::Status status, const std::string &message, void *userdata) {
|
||||
if (!message.empty()) {
|
||||
osm.Show(message, 2.0);
|
||||
osm.Show(message, status == SaveState::Status::SUCCESS ? 2.0 : 5.0);
|
||||
}
|
||||
PostMessage(MainWindow::GetHWND(), WM_USER_SAVESTATE_FINISH, 0, 0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user