Cocoa Port:
- Add support for .dss Action Replay save files.
This commit is contained in:
parent
7fa5f7763e
commit
491a978f31
|
@ -179,7 +179,8 @@
|
|||
#define FILE_EXT_CHEAT "dct"
|
||||
#define FILE_EXT_ROM_SAVE_NOGBA "sav*"
|
||||
#define FILE_EXT_ROM_SAVE_RAW "sav"
|
||||
#define FILE_EXT_ACTION_REPLAY_SAVE "duc"
|
||||
#define FILE_EXT_ACTION_REPLAY_SAVE "dss"
|
||||
#define FILE_EXT_ACTION_REPLAY_MAX_SAVE "duc"
|
||||
#define FILE_EXT_ROM_DS "nds"
|
||||
#define FILE_EXT_ROM_GBA "ds.gba"
|
||||
#define FILE_EXT_HW_IMAGE_FILE "bin"
|
||||
|
|
|
@ -691,7 +691,11 @@
|
|||
[panel setResolvesAliases:YES];
|
||||
[panel setAllowsMultipleSelection:NO];
|
||||
[panel setTitle:NSSTRING_TITLE_IMPORT_ROM_SAVE_PANEL];
|
||||
NSArray *fileTypes = [NSArray arrayWithObjects:@FILE_EXT_ROM_SAVE_RAW, @FILE_EXT_ACTION_REPLAY_SAVE, nil];
|
||||
NSArray *fileTypes = [NSArray arrayWithObjects:
|
||||
@FILE_EXT_ROM_SAVE_RAW,
|
||||
@FILE_EXT_ACTION_REPLAY_SAVE,
|
||||
@FILE_EXT_ACTION_REPLAY_MAX_SAVE,
|
||||
nil];
|
||||
|
||||
// The NSOpenPanel method -(NSInt)runModalForDirectory:file:types:
|
||||
// is deprecated in Mac OS X v10.6.
|
||||
|
|
Loading…
Reference in New Issue