From ab53131bd8ca0641f92e9d055353ab4dde241b25 Mon Sep 17 00:00:00 2001 From: rogerman Date: Mon, 27 Feb 2012 05:35:17 +0000 Subject: [PATCH] Cocoa Port: - Fix bug with Import ROM Save File where .sav files weren't being recognized. --- desmume/src/cocoa/userinterface/emuWindowDelegate.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desmume/src/cocoa/userinterface/emuWindowDelegate.mm b/desmume/src/cocoa/userinterface/emuWindowDelegate.mm index 93424806b..bb7d9729f 100644 --- a/desmume/src/cocoa/userinterface/emuWindowDelegate.mm +++ b/desmume/src/cocoa/userinterface/emuWindowDelegate.mm @@ -566,7 +566,7 @@ [panel setResolvesAliases:YES]; [panel setAllowsMultipleSelection:NO]; [panel setTitle:NSSTRING_TITLE_IMPORT_ROM_SAVE_PANEL]; - NSArray *fileTypes = [NSArray arrayWithObjects:@FILE_EXT_ROM_SAVE_NOGBA, @FILE_EXT_ACTION_REPLAY_SAVE, nil]; + NSArray *fileTypes = [NSArray arrayWithObjects:@FILE_EXT_ROM_SAVE_RAW, @FILE_EXT_ACTION_REPLAY_SAVE, nil]; // The NSOpenPanel method -(NSInt)runModalForDirectory:file:types: // is deprecated in Mac OS X v10.6.