GBA DMA: initalize wtMem to 0 on reset

This commit is contained in:
Eknous-P 2025-11-21 13:09:38 +04:00
parent 80e51d9b99
commit 62afabbc0b
2 changed files with 2 additions and 1 deletions

View file

@ -378,6 +378,7 @@ DivDispatchOscBuffer* DivPlatformGBADMA::getOscBuffer(int ch) {
}
void DivPlatformGBADMA::reset() {
memset(wtMem,0,sizeof(wtMem));
for (int i=0; i<2; i++) {
chan[i]=DivPlatformGBADMA::Channel();
chan[i].std.setEngine(parent);