mirror of
https://github.com/holub/mame
synced 2025-04-24 17:30:55 +03:00
model1: Paranoia on atan [O. Galibert]
This commit is contained in:
parent
baf3b30315
commit
42f5ceb3db
@ -231,7 +231,7 @@ WRITE32_MEMBER(model1_state::copro_atan_w)
|
||||
|
||||
READ32_MEMBER(model1_state::copro_atan_r)
|
||||
{
|
||||
u32 idx = m_copro_atan_base[3];
|
||||
u32 idx = m_copro_atan_base[3] & 0xffff;
|
||||
if(idx & 0xc000)
|
||||
idx = 0x3fff;
|
||||
u32 result = m_copro_tables[idx | 0x4000];
|
||||
|
Loading…
Reference in New Issue
Block a user