From 3ee3abf99c2f9f081fa9d25e21f2471546b2759a Mon Sep 17 00:00:00 2001 From: NPO <77460082+NPO-197@users.noreply.github.com> Date: Fri, 18 Oct 2024 14:02:50 -0400 Subject: [PATCH] Update LuaMain.cpp --- src/frontend/qt_sdl/LuaMain.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/frontend/qt_sdl/LuaMain.cpp b/src/frontend/qt_sdl/LuaMain.cpp index ee7a72ad..4fb2e72b 100644 --- a/src/frontend/qt_sdl/LuaMain.cpp +++ b/src/frontend/qt_sdl/LuaMain.cpp @@ -602,6 +602,9 @@ int Lua_drawImage(lua_State* L) else { image=QImage(path); + char str[256]; + sprintf(str,"Got Image:%s, of size %i,%i",path.toStdString().c_str(),image.width(),image.height()); + bundle->getEmuThread()->onLuaPrint(str); (*bundle->imageHash)[path] = image; } painter.drawImage(x,y,image,sx,sy,sw,sh);