mirror of https://github.com/mgba-emu/mgba.git
ARM7: PSR mode bits should not get sign extended
This commit is contained in:
parent
7e04e44563
commit
881c10b40e
1
CHANGES
1
CHANGES
|
@ -21,6 +21,7 @@ Bugfixes:
|
||||||
- GBA: Fix IRQs firing after already being cleared
|
- GBA: Fix IRQs firing after already being cleared
|
||||||
- All: Fix fullscreen config option being ignored
|
- All: Fix fullscreen config option being ignored
|
||||||
- GBA: Add savegame override for Crash Bandicoot 2
|
- GBA: Add savegame override for Crash Bandicoot 2
|
||||||
|
- ARM7: PSR mode bits should not get sign extended
|
||||||
Misc:
|
Misc:
|
||||||
- PSP2: Improved controller rumble
|
- PSP2: Improved controller rumble
|
||||||
- GB, GBA: Prevent loading null ROMs
|
- GB, GBA: Prevent loading null ROMs
|
||||||
|
|
|
@ -76,11 +76,11 @@ union PSR {
|
||||||
unsigned : 20;
|
unsigned : 20;
|
||||||
unsigned i : 1;
|
unsigned i : 1;
|
||||||
unsigned f : 1;
|
unsigned f : 1;
|
||||||
enum ExecutionMode t : 1;
|
unsigned t : 1;
|
||||||
enum PrivilegeMode priv : 5;
|
unsigned priv : 5;
|
||||||
#else
|
#else
|
||||||
enum PrivilegeMode priv : 5;
|
unsigned priv : 5;
|
||||||
enum ExecutionMode t : 1;
|
unsigned t : 1;
|
||||||
unsigned f : 1;
|
unsigned f : 1;
|
||||||
unsigned i : 1;
|
unsigned i : 1;
|
||||||
unsigned : 20;
|
unsigned : 20;
|
||||||
|
|
Loading…
Reference in New Issue