diff options
author | wwylele <wwylele@gmail.com> | 2017-01-16 09:59:16 +0200 |
---|---|---|
committer | wwylele <wwylele@gmail.com> | 2017-01-16 09:59:16 +0200 |
commit | 47960b065901f8aec53696535fb46fe20c0908e4 (patch) | |
tree | f40e211ce132a79fa9dbff5a74980d0a84bde3ff /src/core/hw/gpu.cpp | |
parent | 3c333c53f1f2c8daa3eab8c83d403d0d23682747 (diff) |
CoreTiming: use named constant for ARM11 clock rate
Diffstat (limited to 'src/core/hw/gpu.cpp')
-rw-r--r-- | src/core/hw/gpu.cpp | 2 |
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 { Regs g_regs; /// 268MHz CPU clocks / 60Hz frames per second -const u64 frame_ticks = 268123480ull / 60; +const u64 frame_ticks = BASE_CLOCK_RATE_ARM11 / 60; /// Event id for CoreTiming static int vblank_event; /// Total number of frames drawn |