mirror of
https://github.com/PCSX2/pcsx2.git
synced 2024-11-30 04:50:32 +00:00
DEV9: Allow writes to ATA_R_CONTROL while busy
This commit is contained in:
parent
bb4c456f35
commit
6065caaf19
@ -400,7 +400,7 @@ u16 ATA::Read(u32 addr, int width)
|
||||
|
||||
void ATA::Write(u32 addr, u16 value, int width)
|
||||
{
|
||||
if (addr != ATA_R_CMD && (regStatus & (ATA_STAT_BUSY | ATA_STAT_DRQ)) != 0)
|
||||
if ((addr != ATA_R_CMD && addr != ATA_R_CONTROL) && (regStatus & (ATA_STAT_BUSY | ATA_STAT_DRQ)) != 0)
|
||||
{
|
||||
Console.Error("DEV9: ATA: DEVICE BUSY, DROPPING WRITE");
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user