Remove misplaced Reschedule.

Broke Cdvdman callbacks.
This commit is contained in:
Jean-Philip Desjardins 2016-11-20 21:57:40 -05:00
parent d5ad9d0dcd
commit 77f1c67201
2 changed files with 1 additions and 2 deletions

View File

@ -2912,8 +2912,6 @@ void CIopBios::TriggerCallback(uint32 address, uint32 arg0, uint32 arg1)
auto thread = GetThread(callbackThreadId);
thread->context.gpr[CMIPS::A0] = arg0;
thread->context.gpr[CMIPS::A1] = arg1;
Reschedule();
}
//////////////////////////////////////////////////////////////////////////////////////////////////////////

View File

@ -554,6 +554,7 @@ void CSifCmd::ProcessNextDynamicCommand()
//That's not the case here though, so we try for the same effect by calling the handler outside of an interrupt.
uint32 cmdDataEntryAddr = reinterpret_cast<const uint8*>(&cmdDataEntry) - m_ram;
m_bios.TriggerCallback(m_sifExecCmdHandlerAddr, cmdDataEntryAddr, commandHeaderAddr);
m_bios.Reschedule();
}
else
{