mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
core, make system detection by extension case insensitive
This commit is contained in:
parent
ac89144969
commit
c7e1c39b28
3 changed files with 7 additions and 7 deletions
|
@ -399,7 +399,7 @@ int emu_reload_rom(const char *rom_fname_in)
|
|||
movie_data = 0;
|
||||
}
|
||||
|
||||
if (!strcmp(ext, ".gmv"))
|
||||
if (!strcasecmp(ext, ".gmv"))
|
||||
{
|
||||
// check for both gmv and rom
|
||||
int dummy;
|
||||
|
@ -436,7 +436,7 @@ int emu_reload_rom(const char *rom_fname_in)
|
|||
get_ext(rom_fname, ext);
|
||||
lprintf("gmv loaded for %s\n", rom_fname);
|
||||
}
|
||||
else if (!strcmp(ext, ".pat"))
|
||||
else if (!strcasecmp(ext, ".pat"))
|
||||
{
|
||||
int dummy;
|
||||
PicoPatchLoad(rom_fname);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue