mirror of https://github.com/snes9xgit/snes9x.git
Merge pull request #663 from sbzappa/msu-1-support-macos
Fixed support of MSU-1 audio files on MacOS.
This commit is contained in:
commit
8d2bc33023
|
@ -295,13 +295,17 @@ const char * S9xGetFilename (const char *inExt, enum s9x_getdirtype dirtype)
|
|||
else
|
||||
{
|
||||
_splitpath(Memory.ROMFilename, drive, dir, fname, ext);
|
||||
_makepath(filePath[index], drive, dir, fname, inExt);
|
||||
|
||||
strcat(fname, inExt);
|
||||
_makepath(filePath[index], drive, dir, fname, "");
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
_splitpath(Memory.ROMFilename, drive, dir, fname, ext);
|
||||
_makepath(filePath[index], drive, dir, fname, inExt);
|
||||
|
||||
strcat(fname, inExt);
|
||||
_makepath(filePath[index], drive, dir, fname, "");
|
||||
}
|
||||
|
||||
return (filePath[index]);
|
||||
|
@ -436,4 +440,4 @@ const char * S9xGetDirectory (enum s9x_getdirtype dirtype)
|
|||
path[index][l - 1] = 0;
|
||||
|
||||
return (path[index]);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue