fix wrong "running" variable being updated during 16 bit main ram dmas

this probably fixes something
This commit is contained in:
Jaklyy 2024-12-17 11:02:14 -05:00
parent e3c8746229
commit 0a5499cb19
1 changed files with 2 additions and 2 deletions

View File

@ -1214,7 +1214,7 @@ void NDS::MainRAMHandleARM9()
dma->IterCount--;
dma->RemCount--;
if (burststart <= 1) Running = 1;
if (burststart <= 1) dma->Running = 1;
else dma->Running = 2;
DMA9Timestamp = (A9ContentionTS << ARM9ClockShift);
@ -1528,7 +1528,7 @@ void NDS::MainRAMHandleARM7()
dma->IterCount--;
dma->RemCount--;
if (burststart <= 1) Running = 1;
if (burststart <= 1) dma->Running = 1;
else dma->Running = 2;
memset(&ARM7.MRTrack, 0, sizeof(ARM7.MRTrack));