Skip to content

Commit

Permalink
fix an oversight
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaklyy committed Dec 20, 2024
1 parent 6897e4a commit dd857e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/NDSCart.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1972,7 +1972,7 @@ void NDSCartSlot::AdvanceROMTransfer() noexcept
ROMTransferTime[0] = ROMTransferTime[1];

if ((TransferPos + 4) < TransferLen)
ROMTransferTime[1] = (xfercycle*delay) + curts;
ROMTransferTime[1] = (xfercycle*delay) + std::max(curts, ROMTransferTime[0]);
else
ROMTransferTime[1] = -1;

Expand Down

0 comments on commit dd857e8

Please sign in to comment.