shut up DSi-IO warnings
This commit is contained in:
parent
3a9e07c0b1
commit
98072d82bf
12
src/NDS.cpp
12
src/NDS.cpp
|
@ -2978,6 +2978,12 @@ u16 ARM9IORead16(u32 addr)
|
||||||
|
|
||||||
case 0x04000300: return PostFlag9;
|
case 0x04000300: return PostFlag9;
|
||||||
case 0x04000304: return PowerControl9;
|
case 0x04000304: return PowerControl9;
|
||||||
|
|
||||||
|
case 0x04004000:
|
||||||
|
case 0x04004004:
|
||||||
|
case 0x04004010:
|
||||||
|
// shut up logging for DSi registers
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((addr >= 0x04000000 && addr < 0x04000060) || (addr == 0x0400006C))
|
if ((addr >= 0x04000000 && addr < 0x04000060) || (addr == 0x0400006C))
|
||||||
|
@ -3111,6 +3117,12 @@ u32 ARM9IORead32(u32 addr)
|
||||||
if (!(ExMemCnt[0] & (1<<11))) return NDSCart::ReadROMData();
|
if (!(ExMemCnt[0] & (1<<11))) return NDSCart::ReadROMData();
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
|
case 0x04004000:
|
||||||
|
case 0x04004004:
|
||||||
|
case 0x04004010:
|
||||||
|
// shut up logging for DSi registers
|
||||||
|
return 0;
|
||||||
|
|
||||||
// NO$GBA debug register "Clock Cycles"
|
// NO$GBA debug register "Clock Cycles"
|
||||||
// Since it's a 64 bit reg. the CPU will access it in two parts:
|
// Since it's a 64 bit reg. the CPU will access it in two parts:
|
||||||
case 0x04FFFA20: return (u32)(GetSysClockCycles(0) & 0xFFFFFFFF);
|
case 0x04FFFA20: return (u32)(GetSysClockCycles(0) & 0xFFFFFFFF);
|
||||||
|
|
Loading…
Reference in New Issue