diff --git a/src/mame/drivers/esq5505.cpp b/src/mame/drivers/esq5505.cpp index db14c6b1a2a..ddc666aa085 100644 --- a/src/mame/drivers/esq5505.cpp +++ b/src/mame/drivers/esq5505.cpp @@ -273,6 +273,9 @@ void esq5505_state::machine_start() // tell the pump about the OTIS & ESP chips m_pump->set_otis(m_otis); m_pump->set_esp(m_esp); + + m_rom = (UINT16 *)(void *)memregion("osrom")->base(); + m_ram = (UINT16 *)(void *)memshare("osram")->ptr(); } void esq5505_state::machine_reset() @@ -280,9 +283,6 @@ void esq5505_state::machine_reset() floppy_connector *con = machine().device("wd1772:0"); floppy_image_device *floppy = con ? con->get_device() : nullptr; - m_rom = (UINT16 *)(void *)memregion("osrom")->base(); - m_ram = (UINT16 *)(void *)memshare("osram")->ptr(); - // Default analog values: m_analog_values[0] = 0x7fff; // pitch mod: start in the center m_analog_values[1] = 0x0000; // patch select: nothing pressed.