diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2021-10-23 15:50:07 +0200 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2021-10-23 15:50:41 +0200 |
| commit | d867f578df1d652d27d06c0712d5ba1df301ce22 (patch) | |
| tree | badb757d2ed96daf98ae6e0b853f999c67919ac2 | |
| parent | b48ba048ed703716f843138b1df638c8aa984610 (diff) | |
| download | box64-d867f578df1d652d27d06c0712d5ba1df301ce22.tar.gz box64-d867f578df1d652d27d06c0712d5ba1df301ce22.zip | |
Fixed SDL_Log wrapped function
| -rwxr-xr-x | src/wrapped/wrappedsdl2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wrapped/wrappedsdl2.c b/src/wrapped/wrappedsdl2.c index 53b2b1a6..59f2a97e 100755 --- a/src/wrapped/wrappedsdl2.c +++ b/src/wrapped/wrappedsdl2.c @@ -642,7 +642,7 @@ EXPORT void my2_SDL_Log(x64emu_t* emu, void* fmt, void *b) { sdl2_my_t *my = (sdl2_my_t *)emu->context->sdl2lib->priv.w.p2; // SDL_LOG_PRIORITY_INFO == 3 // SDL_LOG_CATEGORY_APPLICATION == 0 - myStackAlign(emu, (const char*)fmt, b, emu->scratch, R_EAX, 2); + myStackAlign(emu, (const char*)fmt, b, emu->scratch, R_EAX, 1); PREPARE_VALIST; my->SDL_LogMessageV(0, 3, fmt, VARARGS); } |