render lua gui before writing avi

This commit is contained in:
zeromus 2008-07-25 19:14:19 +00:00
parent 6ee2f81ee4
commit 11cfac9920
1 changed files with 3 additions and 3 deletions

View File

@ -197,10 +197,12 @@ void FCEU_PutImage(void)
}
else
{
//Some messages need to be displayed before the avi is dumped
DrawMessage(true);
//Lua gui should draw before the avi is dumped.
FCEU_LuaGui(XBuf);
//Update AVI before overlay stuff is written
if(!FCEUI_EmulationPaused())
FCEUI_AviVideoUpdate(XBuf);
@ -230,8 +232,6 @@ void FCEU_PutImage(void)
if(FCEUD_ShouldDrawInputAids())
FCEU_DrawInput(XBuf);
FCEU_LuaGui(XBuf);
//Fancy input display code
if(input_display)
{