From e5dc4d7e789e27f401cf229a11d3646d780e7a7f Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Tue, 1 Jun 2021 10:37:58 +0200 Subject: Better trace for glXGetProcAddressARB --- src/emu/x64int3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/emu/x64int3.c b/src/emu/x64int3.c index e000da82..a88b45ae 100755 --- a/src/emu/x64int3.c +++ b/src/emu/x64int3.c @@ -147,7 +147,7 @@ void x64Int3(x64emu_t* emu) pu64 = (uint64_t*)R_RDI; post = 3; snprintf(buff, 255, "%04d|%p: Calling %s(%p, %zu, \"%s\" (,%p))", tid, *(void**)(R_RSP), s, (void*)R_RDI, R_RSI, (tmp)?tmp:"(nil)", (void*)(R_RCX)); - } else if(!strcmp(s, "glXGetProcAddress") || !strcmp(s, "SDL_GL_GetProcAddress")) { + } else if(!strcmp(s, "glXGetProcAddress") || !strcmp(s, "SDL_GL_GetProcAddress") || !strcmp(s, "glXGetProcAddressARB")) { tmp = (char*)(R_RDI); snprintf(buff, 255, "%04d|%p: Calling %s(\"%s\")", tid, *(void**)(R_RSP), s, (tmp)?tmp:"(nil)"); } else if(!strcmp(s, "glGetStringi")) { -- cgit 1.4.1