mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-16 19:14:18 +01:00
DEV9: Fix ATA MDMA
This commit is contained in:
1 parent
3999c08f00
commit
bfd0a05289
1 file changed
+2
-2
@@ -77,7 +77,7 @@ void ATA::PostCmdDMADataFromHost()
|
||||
|
||||
void ATA::ATAreadDMA8Mem(u8* pMem, int size)
|
||||
{
|
||||
if ((udmaMode >= 0) &&
|
||||
if ((udmaMode >= 0 || mdmaMode >= 0) &&
|
||||
(dev9.if_ctrl & SPD_IF_ATA_DMAEN) != 0)
|
||||
{
|
||||
if (size == 0 || nsector == -1)
|
||||
@@ -103,7 +103,7 @@ void ATA::ATAreadDMA8Mem(u8* pMem, int size)
|
||||
|
||||
void ATA::ATAwriteDMA8Mem(u8* pMem, int size)
|
||||
{
|
||||
if ((udmaMode >= 0) &&
|
||||
if ((udmaMode >= 0 || mdmaMode >= 0) &&
|
||||
(dev9.if_ctrl & SPD_IF_ATA_DMAEN) != 0)
|
||||
{
|
||||
if (nsector == -1)
|
||||
|
||||
Reference in new issue
Block a user