Add simple OSD display

This commit is contained in:
Chris Burgener committed 2016-09-02 12:53:52 -04:00
1 parent 3d8a49c846
commit 7ca90872fb
1 file changed
+3
+3
View File
@@ -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)
@@ -98,6 +99,7 @@ static void __EmuScreenVblank()
else if (!g_Config.bDumpFrames && startDumping)
{
avi.Stop();
osm.Show("AVI Dump stopped.", 3.0f);
startDumping = false;
}
}
@@ -250,6 +252,7 @@ EmuScreen::~EmuScreen() {
if (g_Config.bDumpFrames && startDumping)
{
avi.Stop();
osm.Show("AVI Dump stopped.", 3.0f);
startDumping = false;
}
}