mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-27 08:15:33 +01:00
Set the correct bit for "trap" program exception. Fixes http://wiibrew.org/wiki/Descent
This commit is contained in:
parent
3cdcdba25f
commit
ba119e8c05
@ -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…
x
Reference in New Issue
Block a user