Merge branch 'Saturn-Next' into Saturn-Testing

This commit is contained in:
Alug committed 2025-12-27 15:50:21 +01:00
commit 7d64ec103d
1 file changed
+3 -7
+3 -7
View File
@@ -1186,17 +1186,13 @@ static void IdentifyVersion(void)
#endif
char tempsrb2path[256] = ".";
getcwd(tempsrb2path, 256);
if (getcwd(tempsrb2path, 256) == NULL)
strcpy(tempsrb2path, ".");
// get the current directory (possible problem on NT with "." as current dir)
if (!srb2waddir)
{
if (tempsrb2path[0])
srb2waddir = tempsrb2path;
else
{
srb2waddir = ".";
}
srb2waddir = tempsrb2path;
}
#if (1) // reduce the amount of findfile by only using full cwd in this func