Kaynağa Gözat
chore: add GetAppDir for wasm returning root VFS
pull/5495/head
cortexmancer
2 hafta önce
ebeveyn
işleme
e0288f33ba
Veri tabanında bu imza için bilinen anahtar bulunamadı
GPG Anahtar Kimliği: E6AE865D00B73C61
1 değiştirilmiş dosya ile
3 ekleme ve
0 silme
-
src/rcore.c
|
|
|
@ -2738,6 +2738,9 @@ const char *GetApplicationDirectory(void) |
|
|
|
appDir[0] = '.'; |
|
|
|
appDir[1] = '/'; |
|
|
|
} |
|
|
|
|
|
|
|
#elif defined(__wasm__) |
|
|
|
appDir[0] = '/'; |
|
|
|
#endif |
|
|
|
|
|
|
|
return appDir; |
|
|
|
|