citra-emu
/
citra
Archived
1
0
Fork 0

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
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ namespace GPU {
Regs g_regs; Regs g_regs;
/// 268MHz CPU clocks / 60Hz frames per second /// 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 /// Event id for CoreTiming
static int vblank_event; static int vblank_event;