diff options
Diffstat (limited to 'src/devices/cpu/powerpc/ppccom.cpp')
-rw-r--r-- | src/devices/cpu/powerpc/ppccom.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/cpu/powerpc/ppccom.cpp b/src/devices/cpu/powerpc/ppccom.cpp index ce7249a6414..7611d6d0e25 100644 --- a/src/devices/cpu/powerpc/ppccom.cpp +++ b/src/devices/cpu/powerpc/ppccom.cpp @@ -409,7 +409,7 @@ inline void ppc_device::set_timebase(UINT64 newtb) inline UINT32 ppc_device::get_decrementer() { INT64 cycles_until_zero = m_dec_zero_cycles - total_cycles(); - cycles_until_zero = MAX(cycles_until_zero, 0); + cycles_until_zero = std::max(cycles_until_zero, INT64(0)); if (!m_tb_divisor) { |