Skip to content

Commit 4001c28

Browse files
committed
vprof: add a test for 64x
1 parent c9e0842 commit 4001c28

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

source/modules/vprof.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,11 @@ static void* hook_CLuaGamemode_CallWithArgs(void* funky_srv, int pool)
155155
if (!g_Lua)
156156
return detour_CLuaGamemode_CallWithArgs.GetTrampoline<Symbols::CLuaGamemode_CallWithArgs>()(funky_srv, pool);
157157

158+
#if ARCHITECTURE_IS_X86_64
159+
Msg("Value: %p\n", (void*)pool);
160+
Msg("Value Str: %s\n", (const char*)pool); // Verify: Did we get the symbol for the const char* version?
161+
#endif
162+
158163
const char* pStr = nullptr;
159164
auto it = CallWithArgs_strs.find(pool);
160165
if (it == CallWithArgs_strs.end())

0 commit comments

Comments
 (0)