From f79de6fbe897ce034fc8a0facfbca43c9e075932 Mon Sep 17 00:00:00 2001 From: WerWolv Date: Sat, 28 Dec 2024 22:48:06 +0100 Subject: [PATCH] fix: Web build not starting fully anymore --- lib/libimhex/source/api/imhex_api.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/libimhex/source/api/imhex_api.cpp b/lib/libimhex/source/api/imhex_api.cpp index 14de88af6..74595bbf2 100644 --- a/lib/libimhex/source/api/imhex_api.cpp +++ b/lib/libimhex/source/api/imhex_api.cpp @@ -622,9 +622,12 @@ namespace hex { #elif defined(OS_LINUX) return 1.0F; #elif defined(OS_WEB) + return 1.0F; + /* return EM_ASM_INT({ return window.devicePixelRatio; }); + */ #else return 1.0F; #endif