mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Add simple OSD display
This commit is contained in:
parent
3d8a49c846
commit
7ca90872fb
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue