mirror of
https://github.com/raysan5/raylib.git
synced 2026-01-27 17:29:17 -05:00
chore: add GetAppDir for wasm returning root VFS (#5495)
This commit is contained in:
@ -2738,6 +2738,9 @@ const char *GetApplicationDirectory(void)
|
|||||||
appDir[0] = '.';
|
appDir[0] = '.';
|
||||||
appDir[1] = '/';
|
appDir[1] = '/';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#elif defined(__wasm__)
|
||||||
|
appDir[0] = '/';
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
return appDir;
|
return appDir;
|
||||||
|
|||||||
Reference in New Issue
Block a user