mirror of https://github.com/mgba-emu/mgba.git
ARM, LR35902: Const correctness
This commit is contained in:
parent
e991b30926
commit
f39ab5b353
|
@ -124,7 +124,7 @@ struct ARMMemory {
|
|||
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;
|
||||
|
|
|
@ -56,7 +56,7 @@ struct LR35902Memory {
|
|||
|
||||
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);
|
||||
|
|
Loading…
Reference in New Issue