mirror of
https://github.com/valentderah/totk-pc-recomp.git
synced 2026-11-19 20:25:57 +00:00
Default shadow storage to on when running under Wine
This commit is contained in:
1 parent
f469c5a774
commit
d9d6264bb2
4 files changed
+10
-2
No files matched your search
@@ -1247,6 +1247,8 @@ int plat_os_version(char *out, size_t cap) {
|
||||
return snprintf(out, cap, "%s (Linux %s)", name, u.release) < (int)cap;
|
||||
}
|
||||
|
||||
int plat_is_wine(void) { return 0; }
|
||||
|
||||
int plat_stderr_path(char *out, size_t cap) {
|
||||
struct stat st;
|
||||
if (fstat(2, &st) || !S_ISREG(st.st_mode)) return 0;
|
||||
|
||||
Reference in new issue
Block a user