mirror of
https://github.com/raysan5/raylib.git
synced 2026-02-14 21:37:53 +00:00
chore: add GetAppDir for wasm returning root VFS (#5495)
This commit is contained in:
parent
026b7e808a
commit
a938a7c97a
@ -2738,6 +2738,9 @@ const char *GetApplicationDirectory(void)
|
||||
appDir[0] = '.';
|
||||
appDir[1] = '/';
|
||||
}
|
||||
|
||||
#elif defined(__wasm__)
|
||||
appDir[0] = '/';
|
||||
#endif
|
||||
|
||||
return appDir;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user