mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-30 01:33:45 +01:00
Add simple OSD display
This commit is contained in:
1 parent
3d8a49c846
commit
7ca90872fb
1 file changed
+3
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user