mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-13 16:37:56 -05:00
Core: Make PerfStats internally locked
More ergonomic to use and will be required for upcoming changes.
This commit is contained in:
@ -281,8 +281,7 @@ ResultCode SetBufferSwap(u32 screen_id, const FrameBufferInfo& info) {
|
||||
|
||||
if (screen_id == 0) {
|
||||
MicroProfileFlip();
|
||||
auto perf_stats = Core::System::GetInstance().perf_stats.Lock();
|
||||
perf_stats->EndGameFrame();
|
||||
Core::System::GetInstance().perf_stats.EndGameFrame();
|
||||
}
|
||||
|
||||
return RESULT_SUCCESS;
|
||||
|
Reference in New Issue
Block a user