gba.cpp, Ln 2645:
case 0xC6:
{Code: Select all
bool start= ((DM1CNT_H ^ value) & 0x8000) ? true : false; value &= 0xF7E0;
Â
Code: Select all
DM1CNT_H = value; UPDATE_REG(0xC6, DM1CNT_H);
Â
Code: Select all
if(start [b]&& (value & 0x8000)[/b]) { dma1Source = DM1SAD_L | (DM1SAD_H << 16); dma1Dest = DM1DAD_L | (DM1DAD_H << 16); CPUCheckDMA(0, 2); } } break;
Â
My personal logic tells me that the bold part is unneeded.