fix compile (nw)

This commit is contained in:
Miodrag Milanovic 2015-12-05 11:23:03 +01:00
parent 31f5c1f013
commit 4c8a059d1d
2 changed files with 2 additions and 2 deletions

View File

@ -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));
}

View File

@ -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));