mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-05 10:26:40 +00:00
Do not save last set when running in good_times debug mode
This commit is contained in:
parent
342f73f286
commit
b6f2dc3b1c
@ -61,6 +61,11 @@ const char *Registry::get(const char *key) const {
|
||||
}
|
||||
|
||||
void Registry::set(const char *key, const char *val) {
|
||||
// Hack: Don't save these, so we can run in good_times mode
|
||||
// without new games being bogus.
|
||||
if (strstr(key, "GrimLastSet") || strstr(key, "GrimMannyState"))
|
||||
return;
|
||||
|
||||
settings_[key] = val;
|
||||
dirty_ = true;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user