mirror of https://github.com/mgba-emu/mgba.git
GBA I/O: Stop logging several harmless invalid register reads
This commit is contained in:
parent
1f6126d124
commit
01656e6052
1
CHANGES
1
CHANGES
|
@ -107,6 +107,7 @@ Other fixes:
|
||||||
- Qt: Fix sprite view using wrong base address (fixes mgba.io/i/1603)
|
- Qt: Fix sprite view using wrong base address (fixes mgba.io/i/1603)
|
||||||
Misc:
|
Misc:
|
||||||
- GB Memory: Support manual SRAM editing (fixes mgba.io/i/1580)
|
- GB Memory: Support manual SRAM editing (fixes mgba.io/i/1580)
|
||||||
|
- GBA I/O: Stop logging several harmless invalid register reads
|
||||||
- Debugger: Separate aliases from main commands
|
- Debugger: Separate aliases from main commands
|
||||||
- Debugger: Print break-/watchpoint ID when breaking in CLI
|
- Debugger: Print break-/watchpoint ID when breaking in CLI
|
||||||
- SDL: Use controller GUID instead of name
|
- SDL: Use controller GUID instead of name
|
||||||
|
|
|
@ -826,8 +826,10 @@ uint16_t GBAIORead(struct GBA* gba, uint32_t address) {
|
||||||
case REG_DMA1CNT_LO:
|
case REG_DMA1CNT_LO:
|
||||||
case REG_DMA2CNT_LO:
|
case REG_DMA2CNT_LO:
|
||||||
case REG_DMA3CNT_LO:
|
case REG_DMA3CNT_LO:
|
||||||
// Write-only register
|
// Many, many things read from the DMA register
|
||||||
mLOG(GBA_IO, GAME_ERROR, "Read from write-only I/O register: %03X", address);
|
case REG_MAX:
|
||||||
|
// Some bad interrupt libraries will read from this
|
||||||
|
// (Silent) write-only register
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
case REG_JOY_RECV_LO:
|
case REG_JOY_RECV_LO:
|
||||||
|
@ -900,8 +902,6 @@ uint16_t GBAIORead(struct GBA* gba, uint32_t address) {
|
||||||
case REG_IME:
|
case REG_IME:
|
||||||
// Handled transparently by registers
|
// Handled transparently by registers
|
||||||
break;
|
break;
|
||||||
case REG_MAX:
|
|
||||||
// Some bad interrupt libraries will read from this
|
|
||||||
case 0x066:
|
case 0x066:
|
||||||
case 0x06E:
|
case 0x06E:
|
||||||
case 0x076:
|
case 0x076:
|
||||||
|
|
Loading…
Reference in New Issue