mirror of
https://github.com/valentderah/totk-pc-recomp.git
synced 2026-11-21 12:55:57 +00:00
Merge remote-tracking branch 'origin/dev' into discord-rich-presence
This commit is contained in:
commit
ab32d00cc9
69 files changed
+1811
-256
No files matched your search
@@ -1040,6 +1040,8 @@ const void *plat_file_map(PlatFile *f) {
|
||||
return v == MAP_FAILED ? NULL : v;
|
||||
}
|
||||
|
||||
int plat_fs_os_error(void) { return errno; }
|
||||
|
||||
static int fs_err(int e) {
|
||||
switch (e) {
|
||||
case ENOENT: case ENOTDIR: return PLAT_FS_NOT_FOUND;
|
||||
|
||||
Reference in new issue
Block a user