aboutsummaryrefslogtreecommitdiff
path: root/src/wx/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/wx/main.cpp')
-rw-r--r--src/wx/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/main.cpp b/src/wx/main.cpp
index e07d3c9..214996a 100644
--- a/src/wx/main.cpp
+++ b/src/wx/main.cpp
@@ -412,7 +412,7 @@ wxThread::ExitCode EmuThread::Entry()
// framerate limiter based off SDL2_gfx
float framerate;
if (nlines == 263) framerate = 1000.0f / 60.0f;
- else framerate = 1000.0f / ((60.0f * nlines) / 263.0f);
+ else framerate = ((1000.0f * nlines) / 263.0f) / 60.0f;
fpslimitcount++;
u32 curtick = SDL_GetTicks();