mirror of
https://github.com/holub/mame
synced 2025-06-30 16:00:01 +03:00
hp48: Fix regression from auto_alloc changes.
This commit is contained in:
parent
4c8cf0265f
commit
12959e6e97
@ -934,6 +934,7 @@ void hp48_state::base_machine_start(hp48_models model)
|
||||
HP48_S_SERIES ? (256 * 1024) : (512 * 1024);
|
||||
m_allocated_rom = std::make_unique<uint8_t[]>(2 * rom_size);
|
||||
decode_nibble(m_allocated_rom.get(), memregion("maincpu")->base(), rom_size);
|
||||
m_rom = m_allocated_rom.get();
|
||||
|
||||
/* init state */
|
||||
std::fill_n(&m_allocated_ram[0], 2 * ram_size, 0);
|
||||
|
Loading…
Reference in New Issue
Block a user