GBA DMA: initalize wtMem to 0 on reset
This commit is contained in:
parent
80e51d9b99
commit
62afabbc0b
2 changed files with 2 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue