diff --git a/port/src/fs.c b/port/src/fs.c index 459e72392..1837f16ea 100644 --- a/port/src/fs.c +++ b/port/src/fs.c @@ -114,7 +114,7 @@ s32 fsInit(void) if (!portable) { if (fsFileSize("./" DEFAULT_BASEDIR_NAME) >= 0) { path = "./" DEFAULT_BASEDIR_NAME; - } else if (fsFileSize("$H/" DEFAULT_BASEDIR_NAME)) { + } else if (fsFileSize("$H/" DEFAULT_BASEDIR_NAME) >= 0) { path = "$H/" DEFAULT_BASEDIR_NAME; } }