瀏覽代碼
chore: add GetAppDir for wasm returning root VFS
pull/5495/head
cortexmancer
2 週之前
沒有發現已知的金鑰在資料庫的簽署中
GPG 金鑰 ID: E6AE865D00B73C61
共有
1 個檔案被更改,包括
3 行新增 和
0 行删除
-
src/rcore.c
|
|
|
@ -2738,6 +2738,9 @@ const char *GetApplicationDirectory(void) |
|
|
|
appDir[0] = '.'; |
|
|
|
appDir[1] = '/'; |
|
|
|
} |
|
|
|
|
|
|
|
#elif defined(__wasm__) |
|
|
|
appDir[0] = '/'; |
|
|
|
#endif |
|
|
|
|
|
|
|
return appDir; |
|
|
|
|