mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-22 22:01:06 -06:00
oops! don't hardcode a 9
This commit is contained in:
@ -141,8 +141,8 @@ FILE* GetConfigFile(const char* fileName, const char* permissions)
|
||||
int pos = wcslen(appDataPath);
|
||||
CoTaskMemRealloc(appDataPath, (pos+wcslen(appdir)+fnlen+1)*sizeof(WCHAR));
|
||||
|
||||
wcscpy(&appDataPath[pos], appdir);
|
||||
wcscpy(&appDataPath[pos+9], wfileName);
|
||||
wcscpy(&appDataPath[pos], appdir); pos += wcslen(appdir);
|
||||
wcscpy(&appDataPath[pos], wfileName);
|
||||
|
||||
// this will be more than enough
|
||||
WCHAR fatperm[4];
|
||||
|
Reference in New Issue
Block a user