Fixed SDL_GetPathInfo() return value on Windows

Fixes https://github.com/libsdl-org/SDL/issues/9755
This commit is contained in:
Sam Lantinga 2024-05-10 16:01:54 -07:00
parent 9c6aa5066a
commit 71f3750ff1
1 changed files with 1 additions and 1 deletions

View File

@ -169,7 +169,7 @@ int SDL_SYS_GetPathInfo(const char *path, SDL_PathInfo *info)
info->modify_time = SDL_TimeFromWindows(winstat.ftLastWriteTime.dwLowDateTime, winstat.ftLastWriteTime.dwHighDateTime);
info->access_time = SDL_TimeFromWindows(winstat.ftLastAccessTime.dwLowDateTime, winstat.ftLastAccessTime.dwHighDateTime);
return 1;
return 0;
}
#endif // SDL_FSOPS_WINDOWS