Browse Source
chore: add GetAppDir for wasm returning root VFS
pull/5495/head
cortexmancer
2 weeks ago
No known key found for this signature in database
GPG Key ID: E6AE865D00B73C61
1 changed files with
3 additions and
0 deletions
-
src/rcore.c
|
|
|
@ -2738,6 +2738,9 @@ const char *GetApplicationDirectory(void) |
|
|
|
appDir[0] = '.'; |
|
|
|
appDir[1] = '/'; |
|
|
|
} |
|
|
|
|
|
|
|
#elif defined(__wasm__) |
|
|
|
appDir[0] = '/'; |
|
|
|
#endif |
|
|
|
|
|
|
|
return appDir; |
|
|
|
|