Skip to content

Commit

Permalink
Make sure interrupts are enabled after a IOP module's load routine ha…
Browse files Browse the repository at this point in the history
…s been executed.

Fixes The Mark of Kri not booting.
  • Loading branch information
jpd002 committed Jun 15, 2015
1 parent f015507 commit 289e51f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Source/iop/IopBios.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -471,6 +471,10 @@ void CIopBios::ProcessModuleLoad()

void CIopBios::FinishModuleLoad()
{
//Make sure interrupts are enabled at the end of this
//some games disable interrupts but never enable them back! (The Mark of Kri)
m_cpu.m_State.nCOP0[CCOP_SCU::STATUS] |= CMIPS::STATUS_IE;

//We need to notify the EE that the load request is over
m_sifMan->SendCallReply(Iop::CLoadcore::MODULE_ID, nullptr);
}
Expand Down

0 comments on commit 289e51f

Please sign in to comment.