Skip to content

Commit

Permalink
Add simple OSD display
Browse files Browse the repository at this point in the history
  • Loading branch information
RisingFog committed Sep 2, 2016
1 parent 1a342ef commit 9435f9a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions UI/EmuScreen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ static void __EmuScreenVblank()
if (g_Config.bDumpFrames && !startDumping)
{
avi.Start(PSP_CoreParameter().renderWidth, PSP_CoreParameter().renderHeight);
osm.Show("AVI Dump started.", 3.0f);
startDumping = true;
}
if (g_Config.bDumpFrames && startDumping)
Expand All @@ -102,6 +103,7 @@ static void __EmuScreenVblank()
else if (!g_Config.bDumpFrames && startDumping)
{
avi.Stop();
osm.Show("AVI Dump stopped.", 3.0f);
startDumping = false;
}
#endif
Expand Down Expand Up @@ -256,6 +258,7 @@ EmuScreen::~EmuScreen() {
if (g_Config.bDumpFrames && startDumping)
{
avi.Stop();
osm.Show("AVI Dump stopped.", 3.0f);
startDumping = false;
}
#endif
Expand Down

0 comments on commit 9435f9a

Please sign in to comment.