SDL: Fixed SDL_GetPathInfo() return value on Windows

From 71f3750ff1d6f85f3060649c02be166ef98e88f8 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Fri, 10 May 2024 16:01:54 -0700
Subject: [PATCH] Fixed SDL_GetPathInfo() return value on Windows

Fixes https://github.com/libsdl-org/SDL/issues/9755
---
 src/filesystem/windows/SDL_sysfsops.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/filesystem/windows/SDL_sysfsops.c b/src/filesystem/windows/SDL_sysfsops.c
index b688365d14b86..04f8090fc4ec6 100644
--- a/src/filesystem/windows/SDL_sysfsops.c
+++ b/src/filesystem/windows/SDL_sysfsops.c
@@ -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