mirror of https://github.com/mgba-emu/mgba.git
GB MBC: Pocket Cam memory should be accessible without enabling
This commit is contained in:
parent
ef1041a47f
commit
22af2db6f3
1
CHANGES
1
CHANGES
|
@ -3,6 +3,7 @@ Bugfixes:
|
|||
- Python: Fix importing .gb or .gba before .core
|
||||
- GBA: Reset active region as needed when loading a ROM
|
||||
- Qt: Fix command line debugger closing second game
|
||||
- GB MBC: Pocket Cam memory should be accessible without enabling
|
||||
Misc:
|
||||
- Qt: Don't rebuild library view if style hasn't changed
|
||||
|
||||
|
|
|
@ -744,9 +744,6 @@ uint8_t _GBPocketCamRead(struct GBMemory* memory, uint16_t address) {
|
|||
if (memory->mbcState.pocketCam.registersActive) {
|
||||
return 0;
|
||||
}
|
||||
if (!memory->sramAccess) {
|
||||
return 0xFF;
|
||||
}
|
||||
return memory->sramBank[address & (GB_SIZE_EXTERNAL_RAM - 1)];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue