all repos — mgba @ 8aeafeb762457933797162fb41a538a728efa18a

mGBA Game Boy Advance Emulator

ARM7: PSR mode bits should not get sign extended
Jeffrey Pfau jeffrey@endrift.com
Wed, 30 Nov 2016 16:18:02 -0800
commit

8aeafeb762457933797162fb41a538a728efa18a

parent

fbb29de1606f1489fc5aa7f7492e9a610cd95fcd

2 files changed, 5 insertions(+), 4 deletions(-)

jump to
M CHANGESCHANGES

@@ -32,6 +32,7 @@ - GBA: Fix IRQs firing after already being cleared

- All: Fix fullscreen config option being ignored - GBA BIOS: Implement BitUnPack - GBA: Add savegame override for Crash Bandicoot 2 + - ARM7: PSR mode bits should not get sign extended Misc: - SDL: Remove scancode key input - GBA Video: Clean up unused timers
M src/arm/arm.hsrc/arm/arm.h

@@ -76,11 +76,11 @@ unsigned v : 1;

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;