mirror of https://github.com/snes9xgit/snes9x.git
Call _splitpath with all parameters
This commit is contained in:
parent
7bd06fda13
commit
2ebe923dfb
4
msu1.cpp
4
msu1.cpp
|
@ -387,8 +387,8 @@ bool S9xMSU1ROMExists(void)
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
#ifdef UNZIP_SUPPORT
|
#ifdef UNZIP_SUPPORT
|
||||||
char ext[_MAX_EXT + 1];
|
char drive[_MAX_DRIVE + 1], dir[_MAX_DIR + 1], def[_MAX_FNAME + 1], ext[_MAX_EXT + 1];
|
||||||
_splitpath(Memory.ROMFilename, NULL, NULL, NULL, ext);
|
_splitpath(Memory.ROMFilename, drive, dir, def, ext);
|
||||||
if (!strcasecmp(ext, ".msu1"))
|
if (!strcasecmp(ext, ".msu1"))
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue