From 64dbc92b614bfa388d31007788bf725c4e4b59e3 Mon Sep 17 00:00:00 2001 From: jroweboy Date: Sun, 22 Sep 2019 15:40:57 +0200 Subject: Add FPS to SDL title bar Also fix a small issue with incorrect shutdown ordering in SDL. Previously the system would still be running so the telemetry task didn't launch and detached_tasks would assert(count == 0) --- src/yuzu_cmd/emu_window/emu_window_sdl2.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/yuzu_cmd/emu_window/emu_window_sdl2.h') diff --git a/src/yuzu_cmd/emu_window/emu_window_sdl2.h b/src/yuzu_cmd/emu_window/emu_window_sdl2.h index d8051ebdf..eaa971f77 100644 --- a/src/yuzu_cmd/emu_window/emu_window_sdl2.h +++ b/src/yuzu_cmd/emu_window/emu_window_sdl2.h @@ -60,4 +60,7 @@ protected: /// Internal SDL2 render window SDL_Window* render_window; + + /// Keeps track of how often to update the title bar during gameplay + u32 last_time = 0; }; -- cgit v1.2.3