Skip to content

Commit

Permalink
DEV9: Allow writes to ATA_R_CONTROL while busy
Browse files Browse the repository at this point in the history
  • Loading branch information
TheLastRar authored and lightningterror committed Oct 15, 2024
1 parent bb4c456 commit 6065caa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pcsx2/DEV9/ATA/ATA_State.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 6065caa

Please sign in to comment.