summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/devcpu.c
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2010-07-01 05:01:12 +0000
committer Aaron Giles <aaron@aarongiles.com>2010-07-01 05:01:12 +0000
commit7bdb4bf0830ed72fc4b81f26bdd192cb2c2da9e2 (patch)
tree1250459625b6c5b04ff1fb93e647258e61118748 /src/emu/devcpu.c
parent884cadfde0862228676765d522b1dbcde5236a61 (diff)
Use UINT64s for converting cycles <-> clocks.
Diffstat (limited to 'src/emu/devcpu.c')
-rw-r--r--src/emu/devcpu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/devcpu.c b/src/emu/devcpu.c
index 92108c737c3..db348ba05e5 100644
--- a/src/emu/devcpu.c
+++ b/src/emu/devcpu.c
@@ -134,7 +134,7 @@ bool legacy_cpu_device_config::device_process_token(UINT32 entrytype, const mach
// clock into cycles per second
//-------------------------------------------------
-UINT32 legacy_cpu_device_config::execute_clocks_to_cycles(UINT32 clocks) const
+UINT64 legacy_cpu_device_config::execute_clocks_to_cycles(UINT64 clocks) const
{
UINT32 multiplier = get_legacy_config_int(CPUINFO_INT_CLOCK_MULTIPLIER);
UINT32 divider = get_legacy_config_int(CPUINFO_INT_CLOCK_DIVIDER);
@@ -151,7 +151,7 @@ UINT32 legacy_cpu_device_config::execute_clocks_to_cycles(UINT32 clocks) const
// count back to raw clocks
//-------------------------------------------------
-UINT32 legacy_cpu_device_config::execute_cycles_to_clocks(UINT32 cycles) const
+UINT64 legacy_cpu_device_config::execute_cycles_to_clocks(UINT64 cycles) const
{
UINT32 multiplier = get_legacy_config_int(CPUINFO_INT_CLOCK_MULTIPLIER);
UINT32 divider = get_legacy_config_int(CPUINFO_INT_CLOCK_DIVIDER);