mirror of https://github.com/mgba-emu/mgba.git
ARM7: PSR mode bits should not get sign extended
This commit is contained in:
parent
fbb29de160
commit
8aeafeb762
1
CHANGES
1
CHANGES
|
@ -32,6 +32,7 @@ Bugfixes:
|
||||||
- All: Fix fullscreen config option being ignored
|
- All: Fix fullscreen config option being ignored
|
||||||
- GBA BIOS: Implement BitUnPack
|
- GBA BIOS: Implement BitUnPack
|
||||||
- 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:
|
||||||
- SDL: Remove scancode key input
|
- SDL: Remove scancode key input
|
||||||
- GBA Video: Clean up unused timers
|
- GBA Video: Clean up unused timers
|
||||||
|
|
|
@ -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