mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-04 05:51:27 +12:00
FPS counter fix
This commit is contained in:
parent
5ee0cea672
commit
44b2df27ea
1 changed files with 5 additions and 2 deletions
|
@ -116,8 +116,11 @@ void GSFrame::flip(draw_context_t)
|
||||||
if (!Emu.GetTitleID().empty())
|
if (!Emu.GetTitleID().empty())
|
||||||
title += " | [" + Emu.GetTitleID() + ']';
|
title += " | [" + Emu.GetTitleID() + ']';
|
||||||
|
|
||||||
// can freeze
|
wxGetApp().CallAfter([this, title = std::move(title)]
|
||||||
SetTitle(wxString(title.c_str(), wxConvUTF8));
|
{
|
||||||
|
SetTitle(wxString(title.c_str(), wxConvUTF8));
|
||||||
|
});
|
||||||
|
|
||||||
m_frames = 0;
|
m_frames = 0;
|
||||||
fps_t.Start();
|
fps_t.Start();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue