ARM, LR35902: Const correctness
Vicki Pfau vi@endrift.com
Wed, 08 May 2019 11:22:10 -0700
2 files changed,
2 insertions(+),
2 deletions(-)
M
include/mgba/internal/arm/arm.h
→
include/mgba/internal/arm/arm.h
@@ -124,7 +124,7 @@ int* cycleCounter);
uint32_t (*storeMultiple)(struct ARMCore*, uint32_t baseAddress, int mask, enum LSMDirection direction, int* cycleCounter); - uint32_t* activeRegion; + const uint32_t* activeRegion; uint32_t activeMask; uint32_t activeSeqCycles32; uint32_t activeSeqCycles16;
M
include/mgba/internal/lr35902/lr35902.h
→
include/mgba/internal/lr35902/lr35902.h
@@ -56,7 +56,7 @@ void (*store8)(struct LR35902Core*, uint16_t address, int8_t value);
int (*currentSegment)(struct LR35902Core*, uint16_t address); - uint8_t* activeRegion; + const uint8_t* activeRegion; uint16_t activeMask; uint16_t activeRegionEnd; void (*setActiveRegion)(struct LR35902Core*, uint16_t address);