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 3d8a49c commit 7ca9087
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions UI/EmuScreen.cpp
Expand Up @@ -89,6 +89,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 @@ -98,6 +99,7 @@ static void __EmuScreenVblank()
else if (!g_Config.bDumpFrames && startDumping)
{
avi.Stop();
osm.Show("AVI Dump stopped.", 3.0f);
startDumping = false;
}
}
Expand Down Expand Up @@ -250,6 +252,7 @@ EmuScreen::~EmuScreen() {
if (g_Config.bDumpFrames && startDumping)
{
avi.Stop();
osm.Show("AVI Dump stopped.", 3.0f);
startDumping = false;
}
}
Expand Down

0 comments on commit 7ca9087

Please sign in to comment.