diff options
author | angelosa <salese_corp_ltd@email.it> | 2018-02-23 21:49:28 +0100 |
---|---|---|
committer | angelosa <salese_corp_ltd@email.it> | 2018-02-23 22:04:11 +0100 |
commit | 9842fc438ad42cbd3f0d20350a4a951ac97f8be4 (patch) | |
tree | 4daa325a42b98e39e3f893eb45f1262c069aba48 | |
parent | df70e74699a887b5aa7c12a9324ac54e83e85d52 (diff) |
doa protection was actually good this way, mangled 3d is caused by comms or core bugs (nw)
-rw-r--r-- | src/mame/machine/315-5838_317-0229_comp.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mame/machine/315-5838_317-0229_comp.cpp b/src/mame/machine/315-5838_317-0229_comp.cpp index 39b4e0ade72..f9f80522ada 100644 --- a/src/mame/machine/315-5838_317-0229_comp.cpp +++ b/src/mame/machine/315-5838_317-0229_comp.cpp @@ -331,12 +331,14 @@ READ32_MEMBER(sega_315_5838_comp_device::doa_prot_r) if (offset == 0x7ff8/4) { - retval = m_protram[m_protstate] | m_protram[m_protstate+1]<<8; + // PC=2c20 + retval = m_protram[m_protstate+1] | m_protram[m_protstate]<<8; m_protstate+=2; printf("doa_prot_read %08x %08x %08x\n", offset*4, retval, mem_mask); } else if (offset == 0x400c/4) // todo, is this actually part of the protection? it's in the address range, but decathlete doesn't have it afaik. { + // this actually looks a busy status flag m_prot_a = !m_prot_a; if (m_prot_a) retval = 0xffff; |