Small fix

This commit is contained in:
Agent X 2024-06-24 14:11:32 -04:00
parent 69eea94501
commit 5c0e32348d

View file

@ -116,7 +116,7 @@ const char *sys_user_path(void)
return NULL; return NULL;
} }
LPCWSTR subdirs[] = { L"sm64coopdx", L"sm64ex-coop", NULL }; LPCWSTR subdirs[] = { L"sm64coopdx", L"sm64ex-coop", L"sm64coopdx", NULL };
for (int i = 0; NULL != subdirs[i]; i++) for (int i = 0; NULL != subdirs[i]; i++)
{ {
@ -176,7 +176,7 @@ const char *sys_user_path(void) {
static char path[SYS_MAX_PATH] = { 0 }; static char path[SYS_MAX_PATH] = { 0 };
if ('\0' != path[0]) { return path; } if ('\0' != path[0]) { return path; }
char const *subdirs[] = { "sm64coopdx", "sm64ex-coop", NULL }; char const *subdirs[] = { "sm64coopdx", "sm64ex-coop", "sm64coopdx" NULL };
char *sdlPath = NULL; char *sdlPath = NULL;
for (int i = 0; NULL != subdirs[i]; i++) for (int i = 0; NULL != subdirs[i]; i++)