summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/odyssey2/rom.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/odyssey2/rom.cpp')
-rw-r--r--src/devices/bus/odyssey2/rom.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/bus/odyssey2/rom.cpp b/src/devices/bus/odyssey2/rom.cpp
index 20b04256d00..b964d99b584 100644
--- a/src/devices/bus/odyssey2/rom.cpp
+++ b/src/devices/bus/odyssey2/rom.cpp
@@ -28,7 +28,7 @@ void o2_rom_device::device_start()
void o2_rom_device::cart_init()
{
- m_cart_mask = (1 << (31 - count_leading_zeros(m_rom_size))) - 1;
+ m_cart_mask = (1 << (31 - count_leading_zeros_32(m_rom_size))) - 1;
}