mirror of
https://github.com/bsnes-emu/bsnes.git
synced 2025-09-01 12:52:53 +02:00
system: Use strict serialization method for ICD
Backport of 7d8dbd723c
Otherwise SGB savestates sometimes corrupted, see https://gitlab.com/jgemu/bsnes/-/issues/7
This commit is contained in:
committed by
Tim Allen
parent
ddc3dc2d47
commit
b8dcfcd59d
@@ -27,6 +27,9 @@ auto System::runToSave() -> void {
|
||||
if(cartridge.headerTitle() == "Star Ocean") method = "Strict";
|
||||
if(cartridge.headerTitle() == "TALES OF PHANTASIA") method = "Strict";
|
||||
|
||||
//fast serialization corrupts the Super Game Boy implementation
|
||||
if(cartridge.has.ICD) method = "Strict";
|
||||
|
||||
//fallback in case of unrecognized method specified
|
||||
if(method != "Fast" && method != "Strict") method = "Fast";
|
||||
|
||||
|
Reference in New Issue
Block a user