ARM, LR35902: Const correctness

This commit is contained in:
Vicki Pfau 2019-05-08 11:22:10 -07:00
parent e991b30926
commit f39ab5b353
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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);