render lua gui before writing avi
This commit is contained in:
parent
6ee2f81ee4
commit
11cfac9920
|
@ -197,10 +197,12 @@ void FCEU_PutImage(void)
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
||||||
//Some messages need to be displayed before the avi is dumped
|
//Some messages need to be displayed before the avi is dumped
|
||||||
DrawMessage(true);
|
DrawMessage(true);
|
||||||
|
|
||||||
|
//Lua gui should draw before the avi is dumped.
|
||||||
|
FCEU_LuaGui(XBuf);
|
||||||
|
|
||||||
//Update AVI before overlay stuff is written
|
//Update AVI before overlay stuff is written
|
||||||
if(!FCEUI_EmulationPaused())
|
if(!FCEUI_EmulationPaused())
|
||||||
FCEUI_AviVideoUpdate(XBuf);
|
FCEUI_AviVideoUpdate(XBuf);
|
||||||
|
@ -230,8 +232,6 @@ void FCEU_PutImage(void)
|
||||||
if(FCEUD_ShouldDrawInputAids())
|
if(FCEUD_ShouldDrawInputAids())
|
||||||
FCEU_DrawInput(XBuf);
|
FCEU_DrawInput(XBuf);
|
||||||
|
|
||||||
FCEU_LuaGui(XBuf);
|
|
||||||
|
|
||||||
//Fancy input display code
|
//Fancy input display code
|
||||||
if(input_display)
|
if(input_display)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue