summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/sega/model2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/sega/model2.cpp')
-rw-r--r--src/mame/sega/model2.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/mame/sega/model2.cpp b/src/mame/sega/model2.cpp
index 903a72213ee..f99cecd414d 100644
--- a/src/mame/sega/model2.cpp
+++ b/src/mame/sega/model2.cpp
@@ -519,9 +519,9 @@ u32 model2_tgp_state::copro_inv_r(offs_t offset)
u32 result = m_copro_tgp_tables[index | 0x8000];
u8 bexp = (m_copro_inv_base >> 23) & 0xff;
u8 exp = (result >> 23) + (0x7f - bexp);
- result = (result & 0x807fffff) | (exp << 23);
- if(m_copro_inv_base & 0x80000000)
- result ^= 0x80000000;
+ result = (result & 0x007fffff) | (exp << 23);
+ if (m_copro_inv_base & 0x80000000 && offset)
+ result |= 0x80000000;
return result;
}
@@ -607,9 +607,6 @@ void model2_tgp_state::copro_fifo_w(u32 data)
}
else
m_copro_fifo_in->push(u32(data));
-
- // 1 wait state for i960; prevents Manx TT course select rotation bug
- m_maincpu->spin_until_time(attotime::from_nsec(40));
}