Update LuaMain.cpp

This commit is contained in:
NPO 2024-10-18 14:02:50 -04:00
parent 5376f5a1e6
commit 3ee3abf99c
1 changed files with 3 additions and 0 deletions

View File

@ -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);