mirror of
https://github.com/holub/mame
synced 2025-07-04 01:18:59 +03:00
pt68k4: Coverity 139050 (null reference)
This commit is contained in:
parent
8b1377dadf
commit
81dcb04c0f
@ -361,7 +361,9 @@ void pt68k4_state::machine_reset()
|
||||
floppy_image_device *floppy = m_floppy_connector[0] ? m_floppy_connector[0]->get_device() : nullptr;
|
||||
|
||||
m_wdfdc->set_floppy(floppy);
|
||||
floppy->ss_w(0);
|
||||
|
||||
if (floppy)
|
||||
floppy->ss_w(0);
|
||||
|
||||
m_lastdrive = 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user