3
0
Fork 0
forked from suyu/suyu

GPU/Warnings: Explicitly cast the screen refresh ticks to u64.

This commit is contained in:
Subv 2017-08-19 12:09:35 -05:00
parent 65f19b51c4
commit 8a9a4e2c42

View file

@ -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;