From e0288f33ba14f585914cb61cd8ba49639e983335 Mon Sep 17 00:00:00 2001 From: cortexmancer Date: Wed, 14 Jan 2026 19:25:21 -0300 Subject: [PATCH] chore: add GetAppDir for wasm returning root VFS --- src/rcore.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/rcore.c b/src/rcore.c index dd4123a3b..a393264af 100644 --- a/src/rcore.c +++ b/src/rcore.c @@ -2738,6 +2738,9 @@ const char *GetApplicationDirectory(void) appDir[0] = '.'; appDir[1] = '/'; } + +#elif defined(__wasm__) + appDir[0] = '/'; #endif return appDir;