Browse Source

chore: add GetAppDir for wasm returning root VFS (#5495)

pull/5498/head
base 1 month ago
committed by GitHub
parent
commit
a938a7c97a
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      src/rcore.c

+ 3
- 0
src/rcore.c View File

@ -2738,6 +2738,9 @@ const char *GetApplicationDirectory(void)
appDir[0] = '.';
appDir[1] = '/';
}
#elif defined(__wasm__)
appDir[0] = '/';
#endif
return appDir;

Loading…
Cancel
Save