Fixed bug with FPS counter appearing in AVI even when HUD dumping was disabled

This commit is contained in:
ansstuff 2012-08-14 17:06:43 +00:00
parent e5b3d6ddd3
commit 331a195d7f
3 changed files with 3 additions and 3 deletions

View File

@ -200,6 +200,7 @@ void UpdateTasEditor()
} else
{
// update all modules that need to be updated every frame
// the order is somewhat important, e.g. Greenzone must update before Bookmark Set, Piano Roll must update before Selection
taseditor_window.update();
greenzone.update();
recorder.update();

View File

@ -127,7 +127,6 @@ int FCEU_InitVirtualVideo(void)
return 1;
}
void ShowFPS(void);
#ifdef FRAMESKIP
void FCEU_PutImageDummy(void)
{
@ -153,7 +152,6 @@ void FCEUI_SaveSnapshotAs(void)
dosnapsave=2;
}
static void ReallySnap(void)
{
int x=SaveSnapshot();
@ -165,7 +163,6 @@ static void ReallySnap(void)
void FCEU_PutImage(void)
{
ShowFPS();
if(dosnapsave==2) //Save screenshot as, currently only flagged & run by the Win32 build. //TODO SDL: implement this?
{
char nameo[512];
@ -219,6 +216,7 @@ void FCEU_PutImage(void)
FCEU_DrawLagCounter(XBuf);
FCEU_DrawNTSCControlBars(XBuf);
FCEU_DrawRecordingStatus(XBuf);
ShowFPS();
}
if(FCEUD_ShouldDrawInputAids())

View File

@ -33,5 +33,6 @@ std::string FCEUI_GetSnapshotAsName();
void FCEUI_SetSnapshotAsName(std::string name);
bool FCEUI_ShowFPS();
void FCEUI_SetShowFPS(bool showFPS);
void ShowFPS();
void snapAVI();
#endif