diff options
Diffstat (limited to 'chickadee.scm')
-rw-r--r-- | chickadee.scm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chickadee.scm b/chickadee.scm index 5342e9e..3022a52 100644 --- a/chickadee.scm +++ b/chickadee.scm @@ -78,11 +78,11 @@ #:re-export (abort-game current-timestep)) -(define %time-freq (exact->inexact (sdl-performance-frequency))) +(define %time-freq (exact->inexact internal-time-units-per-second)) (define (elapsed-time) "Return the current value of the system timer in seconds." - (/ (sdl-performance-counter) %time-freq)) + (/ (get-internal-real-time) %time-freq)) (define (key-pressed? key) "Return #t if KEY is currently being pressed." |