mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-14 18:19:36 +01:00
Use the new frame timing to implement the menu throttle directly
This commit is contained in:
1 parent
cc75979f5b
commit
864528303a
8 files changed
+29
-34
No files matched your search
+2
-1
@@ -1164,12 +1164,13 @@ void NativeFrame(GraphicsContext *graphicsContext) {
|
||||
|
||||
g_screenManager->getUIContext()->SetTintSaturation(g_Config.fUITint, g_Config.fUISaturation);
|
||||
|
||||
// All actual rendering happen in here.
|
||||
g_frameTiming.BeforeCPUSlice();
|
||||
// All actual rendering happen in here.
|
||||
g_screenManager->render();
|
||||
if (g_screenManager->getUIContext()->Text()) {
|
||||
g_screenManager->getUIContext()->Text()->OncePerFrame();
|
||||
}
|
||||
g_frameTiming.AfterCPUSlice();
|
||||
|
||||
ui_draw2d.PopDrawMatrix();
|
||||
ui_draw2d_front.PopDrawMatrix();
|
||||
|
||||
Reference in new issue
Block a user