mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-03-12 13:13:43 +00: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…
x
Reference in New Issue
Block a user