mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-10 10:08:51 +00:00
Set the correct bit for "trap" program exception. Fixes http://wiibrew.org/wiki/Descent
This commit is contained in:
parent
3cdcdba25f
commit
ba119e8c05
1 changed files with 1 additions and 1 deletions
|
@ -310,7 +310,7 @@ void CheckExceptions()
|
||||||
{
|
{
|
||||||
SRR0 = PC;
|
SRR0 = PC;
|
||||||
// say that it's a trap exception
|
// say that it's a trap exception
|
||||||
SRR1 = (MSR & 0x87C0FFFF) | 0x40000;
|
SRR1 = (MSR & 0x87C0FFFF) | 0x20000;
|
||||||
MSR |= (MSR >> 16) & 1;
|
MSR |= (MSR >> 16) & 1;
|
||||||
MSR &= ~0x04EF36;
|
MSR &= ~0x04EF36;
|
||||||
NPC = 0x80000700;
|
NPC = 0x80000700;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue