SaveState: Add a setting to ignore warnings.

In case you like to collect old and obscure bugs - everyone's got a hobby.
This commit is contained in:
Unknown W. Brackets committed 2018-06-14 18:29:55 -07:00
1 parent a5efb85ab7
commit 006ef96b19
3 files changed
+4 -2

No files matched your search

+2 -2
View File
@@ -705,14 +705,14 @@ namespace SaveState
callbackResult = Status::SUCCESS;
hasLoadedState = true;
if (IsStale()) {
if (!g_Config.bHideStateWarnings && IsStale()) {
// For anyone wondering why (too long to put on the screen in an osm):
// Using save states instead of saves simulates many hour play sessions.
// Sometimes this exposes game bugs that were rarely seen on real devices,
// because few people played on a real PSP for 10 hours straight.
callbackMessage = sc->T("Loaded. Save in game, restart, and load for less bugs.");
callbackResult = Status::WARNING;
} else if (IsOldVersion()) {
} else if (!g_Config.bHideStateWarnings && IsOldVersion()) {
// Save states also preserve bugs from old PPSSPP versions, so warn.
callbackMessage = sc->T("Loaded. Save in game, restart, and load for less bugs.");
callbackResult = Status::WARNING;