Fix for Lua drawing. It might not a proper way. Anyway I commit the change.
This commit is contained in:
parent
b3dc31baac
commit
948f7154fc
|
@ -864,6 +864,7 @@ static void DoDisplay(bool firstTime)
|
||||||
//we only do this once per emulated frame
|
//we only do this once per emulated frame
|
||||||
aggDraw.hud->attach((u8*)video.buffer, 256, 384, 1024);
|
aggDraw.hud->attach((u8*)video.buffer, 256, 384, 1024);
|
||||||
DoDisplay_DrawHud();
|
DoDisplay_DrawHud();
|
||||||
|
CallRegisteredLuaFunctions(LUACALL_AFTEREMULATIONGUI);
|
||||||
}
|
}
|
||||||
|
|
||||||
//apply user's filter
|
//apply user's filter
|
||||||
|
@ -874,8 +875,6 @@ static void DoDisplay(bool firstTime)
|
||||||
|
|
||||||
void Display()
|
void Display()
|
||||||
{
|
{
|
||||||
CallRegisteredLuaFunctions(LUACALL_AFTEREMULATIONGUI);
|
|
||||||
|
|
||||||
video.srcBuffer = (u8*)GPU_screen;
|
video.srcBuffer = (u8*)GPU_screen;
|
||||||
DoDisplay(true);
|
DoDisplay(true);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue