summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/gaelco/gaelco2_m.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/gaelco/gaelco2_m.cpp')
-rw-r--r--src/mame/gaelco/gaelco2_m.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/mame/gaelco/gaelco2_m.cpp b/src/mame/gaelco/gaelco2_m.cpp
index 86010953b73..cb2223358ca 100644
--- a/src/mame/gaelco/gaelco2_m.cpp
+++ b/src/mame/gaelco/gaelco2_m.cpp
@@ -261,11 +261,6 @@ void gaelco2_state::init_snowboar()
save_item(NAME(m_snowboard_latch));
}
-static u32 rol(u32 x, u8 c)
-{
- return (x << c) | (x >> (32 - c));
-}
-
static u16 get_lo(u32 x)
{
return ((x & 0x00000010) << 1) |
@@ -273,7 +268,7 @@ static u16 get_lo(u32 x)
((x & 0x40000000) >> 27) |
((x & 0x00000005) << 6) |
((x & 0x00000008) << 8) |
- rol(x & 0x00800040, 9) |
+ rotl_32(x & 0x00800040, 9) |
((x & 0x04000000) >> 16) |
((x & 0x00008000) >> 14) |
((x & 0x00002000) >> 11) |