mirror of
https://github.com/holub/mame
synced 2025-05-23 22:20:01 +03:00
Fix for MT bug #04844, no need to clear status if drive not connected (no whatsnew)
This commit is contained in:
parent
1245af36c3
commit
032b0f355e
@ -1288,8 +1288,6 @@ static UINT32 ide_controller_read(device_t *device, int bank, offs_t offset, int
|
|||||||
|
|
||||||
if (ide->drive[ide->cur_drive].slot->is_ready()) {
|
if (ide->drive[ide->cur_drive].slot->is_ready()) {
|
||||||
ide->status |= IDE_STATUS_DRIVE_READY;
|
ide->status |= IDE_STATUS_DRIVE_READY;
|
||||||
} else {
|
|
||||||
ide->status = 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
switch (BANK(bank, offset))
|
switch (BANK(bank, offset))
|
||||||
|
Loading…
Reference in New Issue
Block a user