ngp: re-enable saving ram to disk on unload

This code was commented out in commit
4e82321182 which otherwise only affected
TLCS900/H timing. I believe this was left in by mistake. Uncommenting
this code restores the ability to persist BIOS settings across play
sessions.
このコミットが含まれているのは:
invertego 2021-07-13 18:07:37 -07:00 committed by Luke Usher
コミット 5f96077613
2個のファイルの変更4行の追加4行の削除

ファイルの表示

@ -21,8 +21,8 @@ auto NeoGeoPocketColor::load(string location) -> bool {
}
auto NeoGeoPocketColor::save(string location) -> bool {
//Pak::save("cpu.ram", ".cram");
//Pak::save("apu.ram", ".aram");
Pak::save("cpu.ram", ".cram");
Pak::save("apu.ram", ".aram");
return true;
}

ファイルの表示

@ -21,8 +21,8 @@ auto NeoGeoPocket::load(string location) -> bool {
}
auto NeoGeoPocket::save(string location) -> bool {
//Pak::save("cpu.ram", ".cram");
//Pak::save("apu.ram", ".aram");
Pak::save("cpu.ram", ".cram");
Pak::save("apu.ram", ".aram");
return true;
}