mirror of
https://github.com/mamedev/mame.git
synced 2024-11-16 07:48:32 +01:00
[ARM7] Fixed PSR transfers.
This commit is contained in:
parent
4591ddffca
commit
34ab94a982
1 changed files with 2 additions and 2 deletions
|
@ -1202,10 +1202,10 @@ static void HandlePSRTransfer( UINT32 insn )
|
|||
newval |= 0x10;
|
||||
|
||||
//Update the Register
|
||||
SET_REGISTER(reg, val);
|
||||
SET_REGISTER(reg, newval);
|
||||
|
||||
//Switch to new mode if changed
|
||||
if( (val & MODE_FLAG) != oldmode)
|
||||
if( (newval & MODE_FLAG) != oldmode)
|
||||
SwitchMode(GET_MODE);
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue