chore: add GetAppDir for wasm returning root VFS
This commit is contained in:
parent
4b74312860
commit
e0288f33ba
|
|
@ -2738,6 +2738,9 @@ const char *GetApplicationDirectory(void)
|
||||||
appDir[0] = '.';
|
appDir[0] = '.';
|
||||||
appDir[1] = '/';
|
appDir[1] = '/';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#elif defined(__wasm__)
|
||||||
|
appDir[0] = '/';
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
return appDir;
|
return appDir;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user