diff options
author | Subv <subv2112@gmail.com> | 2017-08-19 19:09:35 +0200 |
---|---|---|
committer | Subv <subv2112@gmail.com> | 2017-08-21 15:34:30 +0200 |
commit | 8a9a4e2c42b6c2326140f7369374bf78a4645a8f (patch) | |
tree | 3c0f456b46633f27400ae16a7035d44921d3a14e /src/core/hw/gpu.cpp | |
parent | Warnings: Add UNREACHABLE macros to switches that contemplate all possible values. (diff) | |
download | yuzu-8a9a4e2c42b6c2326140f7369374bf78a4645a8f.tar yuzu-8a9a4e2c42b6c2326140f7369374bf78a4645a8f.tar.gz yuzu-8a9a4e2c42b6c2326140f7369374bf78a4645a8f.tar.bz2 yuzu-8a9a4e2c42b6c2326140f7369374bf78a4645a8f.tar.lz yuzu-8a9a4e2c42b6c2326140f7369374bf78a4645a8f.tar.xz yuzu-8a9a4e2c42b6c2326140f7369374bf78a4645a8f.tar.zst yuzu-8a9a4e2c42b6c2326140f7369374bf78a4645a8f.zip |
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 6838e449c..83ad9d898 100644 --- a/src/core/hw/gpu.cpp +++ b/src/core/hw/gpu.cpp @@ -29,7 +29,7 @@ namespace GPU { Regs g_regs; /// 268MHz CPU clocks / 60Hz frames per second -const u64 frame_ticks = BASE_CLOCK_RATE_ARM11 / SCREEN_REFRESH_RATE; +const u64 frame_ticks = static_cast<u64>(BASE_CLOCK_RATE_ARM11 / SCREEN_REFRESH_RATE); /// Event id for CoreTiming static int vblank_event; |