mirror of
https://github.com/holub/mame
synced 2025-04-22 00:11:58 +03:00
psikyo.cpp : Fix OKI bank count (#4504)
* psikyo.cpp : Fix OKI bank count * psikyo.cpp : Missed this
This commit is contained in:
parent
884a2fd070
commit
8bb1e4bfcb
@ -285,7 +285,7 @@ WRITE32_MEMBER(psikyo_state::s1945bl_oki_w)
|
||||
{
|
||||
// not at all sure about this, it seems to write 0 too often
|
||||
uint8_t bank = (data & 0x00ff0000) >> 16;
|
||||
if (bank < 4)
|
||||
if (bank < 5)
|
||||
m_okibank->set_entry(bank);
|
||||
}
|
||||
|
||||
@ -1962,7 +1962,7 @@ void psikyo_state::init_s1945bl()
|
||||
{
|
||||
m_ka302c_banking = 1;
|
||||
|
||||
m_okibank->configure_entries(0, 4, memregion("oki")->base() + 0x30000, 0x10000);
|
||||
m_okibank->configure_entries(0, 5, memregion("oki")->base() + 0x30000, 0x10000);
|
||||
m_okibank->set_entry(0);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user