ARM7: PSR mode bits should not get sign extended

This commit is contained in:
Jeffrey Pfau 2016-11-30 16:18:02 -08:00
parent 7e04e44563
commit 881c10b40e
2 changed files with 5 additions and 4 deletions

View File

@ -21,6 +21,7 @@ Bugfixes:
- GBA: Fix IRQs firing after already being cleared
- All: Fix fullscreen config option being ignored
- GBA: Add savegame override for Crash Bandicoot 2
- ARM7: PSR mode bits should not get sign extended
Misc:
- PSP2: Improved controller rumble
- GB, GBA: Prevent loading null ROMs

View File

@ -76,11 +76,11 @@ union PSR {
unsigned : 20;
unsigned i : 1;
unsigned f : 1;
enum ExecutionMode t : 1;
enum PrivilegeMode priv : 5;
unsigned t : 1;
unsigned priv : 5;
#else
enum PrivilegeMode priv : 5;
enum ExecutionMode t : 1;
unsigned priv : 5;
unsigned t : 1;
unsigned f : 1;
unsigned i : 1;
unsigned : 20;