mirror of
https://github.com/holub/mame
synced 2025-10-05 08:41:31 +03:00
Merge pull request #4161 from cam900/patch-64
namcofl.cpp : Fix sprite banking
This commit is contained in:
commit
736f08bac4
@ -99,7 +99,8 @@ WRITE32_MEMBER(namcofl_state::namcofl_spritebank_w)
|
||||
|
||||
int namcofl_state::FLobjcode2tile(int code)
|
||||
{
|
||||
if ((code & 0x2000) && (m_sprbank & 2)) { code += 0x4000; }
|
||||
if (BIT(code, 13))
|
||||
return (m_sprbank << 13) | (code & 0x1fff);
|
||||
|
||||
return code;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user