mirror of
https://github.com/libretro/Play-.git
synced 2024-12-04 15:26:23 +00:00
Remove misplaced Reschedule.
Broke Cdvdman callbacks.
This commit is contained in:
parent
d5ad9d0dcd
commit
77f1c67201
@ -2912,8 +2912,6 @@ void CIopBios::TriggerCallback(uint32 address, uint32 arg0, uint32 arg1)
|
|||||||
auto thread = GetThread(callbackThreadId);
|
auto thread = GetThread(callbackThreadId);
|
||||||
thread->context.gpr[CMIPS::A0] = arg0;
|
thread->context.gpr[CMIPS::A0] = arg0;
|
||||||
thread->context.gpr[CMIPS::A1] = arg1;
|
thread->context.gpr[CMIPS::A1] = arg1;
|
||||||
|
|
||||||
Reschedule();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//////////////////////////////////////////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||||
|
@ -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.
|
//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;
|
uint32 cmdDataEntryAddr = reinterpret_cast<const uint8*>(&cmdDataEntry) - m_ram;
|
||||||
m_bios.TriggerCallback(m_sifExecCmdHandlerAddr, cmdDataEntryAddr, commandHeaderAddr);
|
m_bios.TriggerCallback(m_sifExecCmdHandlerAddr, cmdDataEntryAddr, commandHeaderAddr);
|
||||||
|
m_bios.Reschedule();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user