소스 검색
chore: add GetAppDir for wasm returning root VFS
pull/5495/head
cortexmancer
2 주 전
No known key found for this signature in database
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; |
|
|
|
|