support 16bit access to the DMA fill regs
This commit is contained in:
parent
7ac538d5d2
commit
6707e5bb85
|
@ -1632,6 +1632,15 @@ void ARM9IOWrite16(u32 addr, u16 val)
|
||||||
case 0x040000DC: DMAs[3]->WriteCnt((DMAs[3]->Cnt & 0xFFFF0000) | val); return;
|
case 0x040000DC: DMAs[3]->WriteCnt((DMAs[3]->Cnt & 0xFFFF0000) | val); return;
|
||||||
case 0x040000DE: DMAs[3]->WriteCnt((DMAs[3]->Cnt & 0x0000FFFF) | (val << 16)); return;
|
case 0x040000DE: DMAs[3]->WriteCnt((DMAs[3]->Cnt & 0x0000FFFF) | (val << 16)); return;
|
||||||
|
|
||||||
|
case 0x040000E0: DMA9Fill[0] = (DMA9Fill[0] & 0xFFFF0000) | val; return;
|
||||||
|
case 0x040000E2: DMA9Fill[0] = (DMA9Fill[0] & 0x0000FFFF) | (val << 16); return;
|
||||||
|
case 0x040000E4: DMA9Fill[1] = (DMA9Fill[1] & 0xFFFF0000) | val; return;
|
||||||
|
case 0x040000E6: DMA9Fill[1] = (DMA9Fill[1] & 0x0000FFFF) | (val << 16); return;
|
||||||
|
case 0x040000E8: DMA9Fill[2] = (DMA9Fill[2] & 0xFFFF0000) | val; return;
|
||||||
|
case 0x040000EA: DMA9Fill[2] = (DMA9Fill[2] & 0x0000FFFF) | (val << 16); return;
|
||||||
|
case 0x040000EC: DMA9Fill[3] = (DMA9Fill[3] & 0xFFFF0000) | val; return;
|
||||||
|
case 0x040000EE: DMA9Fill[3] = (DMA9Fill[3] & 0x0000FFFF) | (val << 16); return;
|
||||||
|
|
||||||
case 0x04000100: Timers[0].Reload = val; return;
|
case 0x04000100: Timers[0].Reload = val; return;
|
||||||
case 0x04000102: TimerStart(0, val); return;
|
case 0x04000102: TimerStart(0, val); return;
|
||||||
case 0x04000104: Timers[1].Reload = val; return;
|
case 0x04000104: Timers[1].Reload = val; return;
|
||||||
|
|
Loading…
Reference in New Issue