Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Back to broken ES_launch but 4 wiimotes working.
  • Loading branch information
Parlane committed Apr 25, 2013
1 parent 7c50ac9 commit d18b71c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
8 changes: 2 additions & 6 deletions Source/Core/Core/Src/HW/WII_IPC.cpp
Expand Up @@ -182,7 +182,6 @@ void Write32(const u32 _Value, const u32 _Address)
if (ctrl.X1)
{
INFO_LOG(WII_IPC, "New pointer available: %08x", ppc_msg);
WII_IPC_HLE_Interface::Update();
// Let the HLE handle the request on it's own time
WII_IPC_HLE_Interface::EnqRequest(ppc_msg);
}
Expand Down Expand Up @@ -212,12 +211,9 @@ void Write32(const u32 _Value, const u32 _Address)
default:
_dbg_assert_msg_(WII_IPC, 0, "w32 %08x @ %08x", _Value, _Address);
break;
}

if((_Address & 0xFFFF) != IPC_PPCCTRL)
{
WII_IPC_HLE_Interface::Update();
}

WII_IPC_HLE_Interface::Update();
CoreTiming::ScheduleEvent_Threadsafe(0, updateInterrupts, 0);
}

Expand Down
7 changes: 3 additions & 4 deletions Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE.cpp
Expand Up @@ -564,10 +564,9 @@ void Update()
{
WII_IPCInterface::GenerateAck(request_queue.front());
INFO_LOG(WII_IPC_HLE, "||-- Acknowledge IPC Request @ 0x%08x", request_queue.front());

ExecuteCommand(request_queue.front());
if(request_queue.size())
request_queue.pop_front();
u32 command = request_queue.front();
request_queue.pop_front();
ExecuteCommand(command);

#if MAX_LOGLEVEL >= DEBUG_LEVEL
Dolphin_Debugger::PrintCallstack(LogTypes::WII_IPC_HLE, LogTypes::LDEBUG);
Expand Down

0 comments on commit d18b71c

Please sign in to comment.