mirror of
https://github.com/raysan5/raylib.git
synced 2026-01-23 23:59:18 -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[1] = '/';
|
||||
}
|
||||
|
||||
#elif defined(__wasm__)
|
||||
appDir[0] = '/';
|
||||
#endif
|
||||
|
||||
return appDir;
|
||||
|
||||
Reference in New Issue
Block a user