From e2b39f9144293a80cfaf6e3f5461c75af2ea3ea8 Mon Sep 17 00:00:00 2001 From: Christian Semmler Date: Mon, 9 Jun 2025 17:10:25 -0700 Subject: [PATCH] Fix `MxStopWatch` (#271) --- LEGO1/mxdirectx/mxstopwatch.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LEGO1/mxdirectx/mxstopwatch.h b/LEGO1/mxdirectx/mxstopwatch.h index f8233774..03a34c27 100644 --- a/LEGO1/mxdirectx/mxstopwatch.h +++ b/LEGO1/mxdirectx/mxstopwatch.h @@ -49,7 +49,7 @@ class MxStopWatch { inline MxStopWatch::MxStopWatch() { Reset(); - m_ticksPerSeconds = SDL_GetPerformanceCounter(); + m_ticksPerSeconds = SDL_GetPerformanceFrequency(); } // FUNCTION: BETA10 0x100d8be0