Cocoa Port:

- There is a bug where if the user changes cheat items using the cheat list directly, the changes will not save to file. (However, any applied changes using Cheat Settings are saved to file as intended.) Workaround behavior: Save the cheat file upon ROM unloading.
This commit is contained in:
rogerman 2012-02-08 01:34:20 +00:00
parent d3ed81a259
commit 062f54806c
1 changed files with 3 additions and 0 deletions

View File

@ -1295,6 +1295,9 @@
currentEmuSaveStateURL = nil;
[window setDocumentEdited:NO];
// Save the ROM's cheat list before unloading.
[[self cdsCheats] save];
// Update the UI to indicate that the ROM has started the process of unloading.
[self setStatus:NSSTRING_STATUS_ROM_UNLOADING];
[romInfoPanelController setContent:[CocoaDSRom romNotLoadedBindings]];