mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-26 23:59:54 -06:00
request_queue may not have anything in it on return from ExecuteCommand
i.e. when calling ES_Launch and everything is reset. Don't call Update after queuing a request.
This commit is contained in:
@ -213,7 +213,10 @@ void Write32(const u32 _Value, const u32 _Address)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
//WII_IPC_HLE_Interface::Update();
|
if((_Address & 0xFFFF) != IPC_PPCCTRL)
|
||||||
|
{
|
||||||
|
WII_IPC_HLE_Interface::Update();
|
||||||
|
}
|
||||||
CoreTiming::ScheduleEvent_Threadsafe(0, updateInterrupts, 0);
|
CoreTiming::ScheduleEvent_Threadsafe(0, updateInterrupts, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -566,6 +566,7 @@ void Update()
|
|||||||
INFO_LOG(WII_IPC_HLE, "||-- Acknowledge IPC Request @ 0x%08x", request_queue.front());
|
INFO_LOG(WII_IPC_HLE, "||-- Acknowledge IPC Request @ 0x%08x", request_queue.front());
|
||||||
|
|
||||||
ExecuteCommand(request_queue.front());
|
ExecuteCommand(request_queue.front());
|
||||||
|
if(request_queue.size())
|
||||||
request_queue.pop_front();
|
request_queue.pop_front();
|
||||||
|
|
||||||
#if MAX_LOGLEVEL >= DEBUG_LEVEL
|
#if MAX_LOGLEVEL >= DEBUG_LEVEL
|
||||||
|
Reference in New Issue
Block a user