Skip to content

Commit

Permalink
Disables a panic alert in lswx that makes using not64 impossible
Browse files Browse the repository at this point in the history
  • Loading branch information
JMC47 authored and RealJohnGalt committed Aug 18, 2018
1 parent a11319b commit 3cc3654
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -695,9 +695,9 @@ void Interpreter::lswx(UGeckoInstruction inst)
rGPR[reg] = 0;

const u32 temp_value = PowerPC::Read_U8(EA) << (24 - offset);
// Not64 (Homebrew N64 Emulator for Wii) triggers the following case.
if (PowerPC::ppcState.Exceptions & EXCEPTION_DSI)
{
PanicAlert("DSI exception in lswx.");
NOTICE_LOG(POWERPC, "DSI exception in lswx");
return;
}
Expand Down

0 comments on commit 3cc3654

Please sign in to comment.