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