all repos — mgba @ d36c0ec7df619a26c9229a3c99c836ca6c9783f2

mGBA Game Boy Advance Emulator

GBA: Fix RTC bincompat with 0.1
Jeffrey Pfau jeffrey@endrift.com
Sat, 21 Mar 2015 01:05:07 -0700
commit

d36c0ec7df619a26c9229a3c99c836ca6c9783f2

parent

073dbd6b8df389ea050b31e2398f1e2f82337602

1 files changed, 2 insertions(+), 2 deletions(-)

jump to
M src/gba/hardware.hsrc/gba/hardware.h

@@ -54,7 +54,7 @@ GPIO_WRITE_ONLY = 0,

GPIO_READ_WRITE = 1 }; -DECL_BITFIELD(RTCControl, uint8_t); +DECL_BITFIELD(RTCControl, uint32_t); DECL_BIT(RTCControl, MinIRQ, 3); DECL_BIT(RTCControl, Hour24, 6); DECL_BIT(RTCControl, Poweroff, 7);

@@ -67,7 +67,7 @@ RTC_CONTROL = 4,

RTC_TIME = 6 }; -DECL_BITFIELD(RTCCommandData, uint8_t); +DECL_BITFIELD(RTCCommandData, uint32_t); DECL_BITS(RTCCommandData, Magic, 0, 4); DECL_BITS(RTCCommandData, Command, 4, 3); DECL_BIT(RTCCommandData, Reading, 7);