From 9d223e178b02cadb1e59b3f4d938c8b6221daf1d Mon Sep 17 00:00:00 2001 From: Alexander Lunsford Date: Fri, 30 May 2025 19:50:34 -0500 Subject: [PATCH] Fix odin.js loadCstring to use pointer address correctly. --- core/sys/wasm/js/odin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/sys/wasm/js/odin.js b/core/sys/wasm/js/odin.js index d5faa5210..1bc0cef4f 100644 --- a/core/sys/wasm/js/odin.js +++ b/core/sys/wasm/js/odin.js @@ -110,7 +110,7 @@ class WasmMemoryInterface { } loadCstring(ptr) { - return this.loadCstringDirect(this.loadPtr(ptr)); + return this.loadCstringDirect(ptr); } loadCstringDirect(start) {