From c6edea8bbaceda316375019344f4e7ffbf6da57e Mon Sep 17 00:00:00 2001 From: Michael Pavone Date: Sat, 25 Nov 2017 14:42:38 -0800 Subject: Avoid burning a huge amount of CPU in the menu when emulation is not running and vsync is disabled --HG-- branch : nuklear_ui --- render.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'render.h') diff --git a/render.h b/render.h index 026c3f1..a4274c9 100644 --- a/render.h +++ b/render.h @@ -103,6 +103,8 @@ uint32_t render_emulated_width(); uint32_t render_emulated_height(); uint32_t render_overscan_top(); uint32_t render_overscan_left(); +uint32_t render_elapsed_ms(void); +void render_sleep_ms(uint32_t delay); #endif //RENDER_H_ -- cgit v1.2.3