diff options
author | 2021-06-22 20:44:59 -0700 | |
---|---|---|
committer | 2021-06-22 20:44:59 -0700 | |
commit | 12959e6e97a229c91757dff52f5153ca49cc7ced (patch) | |
tree | 24ab467a1c87b046c6f10e815ef65d7e013a5cc5 /src | |
parent | 4c8cf0265f0a63896f39ebf701030b5877c85fe8 (diff) |
hp48: Fix regression from auto_alloc changes.
Diffstat (limited to 'src')
-rw-r--r-- | src/mame/machine/hp48.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mame/machine/hp48.cpp b/src/mame/machine/hp48.cpp index ac33d8b1f07..41b44ba5727 100644 --- a/src/mame/machine/hp48.cpp +++ b/src/mame/machine/hp48.cpp @@ -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); |