mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
Increase DIMAR by DILENGTH after a command
This commit is contained in:
parent
d3aad1d6d5
commit
3110599559
@ -1106,6 +1106,9 @@ void FinishExecutingCommandCallback(u64 userdata, s64 cycles_late)
|
||||
void FinishExecutingCommand(ReplyType reply_type, DIInterruptType interrupt_type, s64 cycles_late,
|
||||
const std::vector<u8>& data)
|
||||
{
|
||||
s_DIMAR += s_DILENGTH;
|
||||
s_DILENGTH = 0;
|
||||
|
||||
switch (reply_type)
|
||||
{
|
||||
case ReplyType::NoReply:
|
||||
@ -1118,7 +1121,6 @@ void FinishExecutingCommand(ReplyType reply_type, DIInterruptType interrupt_type
|
||||
if (s_DICR.TSTART)
|
||||
{
|
||||
s_DICR.TSTART = 0;
|
||||
s_DILENGTH = 0;
|
||||
GenerateDIInterrupt(interrupt_type);
|
||||
}
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user