mirror of https://github.com/mgba-emu/mgba.git
Config: Fix warning
This commit is contained in:
parent
e01fc0f2b7
commit
feb7b5a116
|
@ -290,6 +290,7 @@ void mCoreConfigPortablePath(char* out, size_t outLength) {
|
||||||
WideCharToMultiByte(CP_UTF8, 0, wpath, -1, out, outLength, 0, 0);
|
WideCharToMultiByte(CP_UTF8, 0, wpath, -1, out, outLength, 0, 0);
|
||||||
StringCchCatA(out, outLength, PATH_SEP "portable.ini");
|
StringCchCatA(out, outLength, PATH_SEP "portable.ini");
|
||||||
#elif defined(PSP2) || defined(GEKKO) || defined(__SWITCH__) || defined(__3DS__)
|
#elif defined(PSP2) || defined(GEKKO) || defined(__SWITCH__) || defined(__3DS__)
|
||||||
|
UNUSED(outLength);
|
||||||
out[0] = '\0';
|
out[0] = '\0';
|
||||||
#else
|
#else
|
||||||
getcwd(out, outLength);
|
getcwd(out, outLength);
|
||||||
|
|
Loading…
Reference in New Issue