From 427b93340f5de06d2bb71acdcc97fcfd6039cdf0 Mon Sep 17 00:00:00 2001 From: SarahW Date: Tue, 1 Aug 2017 11:54:12 +0100 Subject: [PATCH] Fix timer_freq value on wxWidgets/SDL2 port. Patch from bit. --- src/wx-sdl2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wx-sdl2.c b/src/wx-sdl2.c index 1d9d419..82709d4 100644 --- a/src/wx-sdl2.c +++ b/src/wx-sdl2.c @@ -630,7 +630,7 @@ int start_emulation(void* params) updatewindowsize(640, 480); - timer_freq = timer_read(); + timer_freq = SDL_GetPerformanceFrequency(); if (show_machine_on_start) wx_show_status(ghwnd);