fix an oversight
This commit is contained in:
parent
6897e4a8be
commit
dd857e89ef
|
@ -1972,7 +1972,7 @@ void NDSCartSlot::AdvanceROMTransfer() noexcept
|
||||||
ROMTransferTime[0] = ROMTransferTime[1];
|
ROMTransferTime[0] = ROMTransferTime[1];
|
||||||
|
|
||||||
if ((TransferPos + 4) < TransferLen)
|
if ((TransferPos + 4) < TransferLen)
|
||||||
ROMTransferTime[1] = (xfercycle*delay) + curts;
|
ROMTransferTime[1] = (xfercycle*delay) + std::max(curts, ROMTransferTime[0]);
|
||||||
else
|
else
|
||||||
ROMTransferTime[1] = -1;
|
ROMTransferTime[1] = -1;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue