From 11cfac992030b6b403d60d51fcfbb7e13cb8a734 Mon Sep 17 00:00:00 2001 From: zeromus Date: Fri, 25 Jul 2008 19:14:19 +0000 Subject: [PATCH] render lua gui before writing avi --- src/video.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/video.cpp b/src/video.cpp index b94a242f..05f8f35f 100644 --- a/src/video.cpp +++ b/src/video.cpp @@ -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) {