mirror of
https://github.com/holub/mame
synced 2025-04-21 16:01:56 +03:00
bus/spc1000/fdd.cpp: fixed segfault (nw)
This commit is contained in:
parent
390869452c
commit
409d5e0d64
@ -166,7 +166,7 @@ void spc1000_fdd_exp_device::device_reset()
|
||||
m_cpu->set_input_line_vector(0, 0);
|
||||
|
||||
// enable rom (is this really needed? it does not seem necessary for FDD to work)
|
||||
m_cpu->space(AS_PROGRAM).install_rom(0x0000, 0x0fff, 0x2000, device().machine().root_device().memregion("fdccpu")->base());
|
||||
m_cpu->space(AS_PROGRAM).install_rom(0x0000, 0x0fff, 0x2000, memregion("fdccpu")->base());
|
||||
}
|
||||
|
||||
void spc1000_fdd_exp_device::device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr)
|
||||
|
Loading…
Reference in New Issue
Block a user