Browse Source

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

nce_cpp
Subv 8 years ago
parent
commit
1c6f3ee4ba
  1. 2
      src/core/hw/gpu.cpp

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

Loading…
Cancel
Save