From 9324825d04d67012e3da655d5c02d6da20fea207 Mon Sep 17 00:00:00 2001 From: rjkiv <76180273+rjkiv@users.noreply.github.com> Date: Wed, 6 Aug 2025 12:52:09 -0700 Subject: [PATCH] why segfaulting lmao --- dll/kernel32.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dll/kernel32.cpp b/dll/kernel32.cpp index 44d6425..fafedef 100644 --- a/dll/kernel32.cpp +++ b/dll/kernel32.cpp @@ -1589,7 +1589,10 @@ namespace kernel32 { } void* WIN_FUNC FindResourceW(void* hModule, const wchar_t* lpName, const wchar_t* lpType) { - DEBUG_LOG("FindResourceW\n"); + // why do these segfault lmao + // std::string name = wideStringToString((const unsigned short *)lpName, wcslen(lpName)); + // std::string type = wideStringToString((const unsigned short *)lpType, wcslen(lpType)); + DEBUG_LOG("FindResourceW %p\n", hModule); return (void*)0x100002; }