diff options
| author | 2011-06-25 15:37:58 +0000 | |
|---|---|---|
| committer | 2011-06-25 15:37:58 +0000 | |
| commit | b78e135db8dfe144901bdea6083cedda1a5224d7 (patch) | |
| tree | b2aecea80fb76a08661bccd34c13c913bd28ea17 | |
| parent | ff5532b50208ae750828cc17e7ffa8511f9f9bfa (diff) | |
Fixed floppy device issue reading device_displayinfo callback, fixes floppy image loading (no whatsnew)
| -rw-r--r-- | src/emu/imagedev/flopdrv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/imagedev/flopdrv.c b/src/emu/imagedev/flopdrv.c index 986562ce39e..dc92ff8d091 100644 --- a/src/emu/imagedev/flopdrv.c +++ b/src/emu/imagedev/flopdrv.c @@ -1005,8 +1005,8 @@ DEVICE_GET_INFO(floppy) if (device->type() == FLOPPY_APPLE) { info->f = NULL; } else { - if ( device && downcast<const legacy_image_device_base *>(device)->static_config() && ((floppy_interface*)(device))->device_displayinfo) { - info->f = (genf *) ((floppy_interface*)(device))->device_displayinfo; + if ( device && downcast<const legacy_image_device_base *>(device)->static_config() && ((floppy_interface*)(device)->static_config())->device_displayinfo) { + info->f = (genf *) ((floppy_interface*)(device)->static_config())->device_displayinfo; } else { info->f = NULL; } |
