mirror of
https://github.com/holub/mame
synced 2025-07-04 09:28:51 +03:00
fix compile (nw)
This commit is contained in:
parent
31f5c1f013
commit
4c8a059d1d
@ -81,7 +81,7 @@ void a1bus_cassette_device::device_start()
|
||||
m_rom = device().machine().root_device().memregion(this->subtag(CASSETTE_ROM_REGION).c_str())->base();
|
||||
|
||||
install_device(0xc000, 0xc0ff, read8_delegate(FUNC(a1bus_cassette_device::cassette_r), this), write8_delegate(FUNC(a1bus_cassette_device::cassette_w), this));
|
||||
install_bank(0xc100, 0xc1ff, 0, 0, static_cast<char *>("bank_a1cas"), m_rom);
|
||||
install_bank(0xc100, 0xc1ff, 0, 0, (char *)"bank_a1cas", m_rom);
|
||||
|
||||
save_item(NAME(m_cassette_output_flipflop));
|
||||
}
|
||||
|
@ -76,7 +76,7 @@ void a1bus_cffa_device::device_start()
|
||||
m_rom = device().machine().root_device().memregion(this->subtag(CFFA_ROM_REGION).c_str())->base();
|
||||
|
||||
install_device(0xafe0, 0xafff, read8_delegate(FUNC(a1bus_cffa_device::cffa_r), this), write8_delegate(FUNC(a1bus_cffa_device::cffa_w), this));
|
||||
install_bank(0x9000, 0xafdf, 0, 0, static_cast<char *>("bank_cffa1"), m_rom);
|
||||
install_bank(0x9000, 0xafdf, 0, 0, (char *)"bank_cffa1", m_rom);
|
||||
|
||||
save_item(NAME(m_lastdata));
|
||||
save_item(NAME(m_writeprotect));
|
||||
|
Loading…
Reference in New Issue
Block a user