Skip to content

Commit 56c720b

Browse files
committed
Remove bin and rom from supported extensions
1 parent 055d76c commit 56c720b

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

platforms/libretro/geargrafx_libretro.info

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Software Information
22
display_name = "NEC - PC Engine / SuperGrafx / CD (Geargrafx)"
33
authors = "Ignacio Sanchez"
4-
supported_extensions = "pce|sgx|bin|rom|cue"
4+
supported_extensions = "pce|sgx|cue"
55
corename = "Geargrafx"
66
categories = "Emulator"
77
license = "GPLv3"

platforms/libretro/libretro.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -145,9 +145,9 @@ void retro_set_environment(retro_environment_t cb)
145145

146146
static const struct retro_system_content_info_override content_overrides[] = {
147147
{
148-
"pce|sgx|bin|rom", // extensions
149-
false, // need_fullpath
150-
false // persistent_data
148+
"pce|sgx", // extensions
149+
false, // need_fullpath
150+
false // persistent_data
151151
},
152152
{ NULL, false, false }
153153
};
@@ -257,7 +257,7 @@ void retro_get_system_info(struct retro_system_info *info)
257257
info->library_name = "Geargrafx";
258258
info->library_version = GG_VERSION;
259259
info->need_fullpath = true;
260-
info->valid_extensions = "pce|sgx|bin|rom|cue";
260+
info->valid_extensions = "pce|sgx|cue";
261261
}
262262

263263
void retro_get_system_av_info(struct retro_system_av_info *info)

platforms/shared/desktop/gui_filedialogs.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ static void file_dialog_set_native_window(SDL_Window* window, nfdwindowhandle_t*
3636
void gui_file_dialog_open_rom(void)
3737
{
3838
nfdchar_t *outPath;
39-
nfdfilteritem_t filterItem[1] = { { "ROM/CD Files", "pce,sgx,cue,rom,bin,zip" } };
39+
nfdfilteritem_t filterItem[1] = { { "ROM/CD Files", "pce,sgx,cue,zip" } };
4040
nfdopendialogu8args_t args = { };
4141
args.filterList = filterItem;
4242
args.filterCount = 1;
@@ -220,7 +220,7 @@ void gui_file_dialog_load_bios(bool syscard)
220220
char* bios_path = syscard ? gui_syscard_bios_path : gui_gameexpress_bios_path;
221221
std::string* bios_config_path = syscard ? &config_emulator.syscard_bios_path : &config_emulator.gameexpress_bios_path;
222222
nfdchar_t *outPath;
223-
nfdfilteritem_t filterItem[1] = { { "BIOS Files", "pce,bin,rom,bios" } };
223+
nfdfilteritem_t filterItem[1] = { { "BIOS Files", "pce,rom,bios" } };
224224
nfdopendialogu8args_t args = { };
225225
args.filterList = filterItem;
226226
args.filterCount = 1;

0 commit comments

Comments
 (0)