summaryrefslogtreecommitdiff
path: root/src/core/hw/gpu.cpp
diff options
context:
space:
mode:
authorGravatar wwylele2017-01-16 09:59:16 +0200
committerGravatar wwylele2017-01-16 09:59:16 +0200
commit47960b065901f8aec53696535fb46fe20c0908e4 (patch)
treef40e211ce132a79fa9dbff5a74980d0a84bde3ff /src/core/hw/gpu.cpp
parentHID: manages updating itself using correct ticks (diff)
downloadyuzu-47960b065901f8aec53696535fb46fe20c0908e4.tar.gz
yuzu-47960b065901f8aec53696535fb46fe20c0908e4.tar.xz
yuzu-47960b065901f8aec53696535fb46fe20c0908e4.zip
CoreTiming: use named constant for ARM11 clock rate
Diffstat (limited to 'src/core/hw/gpu.cpp')
-rw-r--r--src/core/hw/gpu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hw/gpu.cpp b/src/core/hw/gpu.cpp
index 58c0d9908..fa8c13d36 100644
--- a/src/core/hw/gpu.cpp
+++ b/src/core/hw/gpu.cpp
@@ -32,7 +32,7 @@ namespace GPU {
32Regs g_regs; 32Regs g_regs;
33 33
34/// 268MHz CPU clocks / 60Hz frames per second 34/// 268MHz CPU clocks / 60Hz frames per second
35const u64 frame_ticks = 268123480ull / 60; 35const u64 frame_ticks = BASE_CLOCK_RATE_ARM11 / 60;
36/// Event id for CoreTiming 36/// Event id for CoreTiming
37static int vblank_event; 37static int vblank_event;
38/// Total number of frames drawn 38/// Total number of frames drawn