From 62afabbc0b0e8390a1b75c96c67f90b2369e4ed7 Mon Sep 17 00:00:00 2001 From: Eknous-P Date: Fri, 21 Nov 2025 13:09:38 +0400 Subject: [PATCH] GBA DMA: initalize wtMem to 0 on reset --- src/engine/platform/gbadma.cpp | 1 + src/gui/settings.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/engine/platform/gbadma.cpp b/src/engine/platform/gbadma.cpp index 2a848cc09..d1192ede8 100644 --- a/src/engine/platform/gbadma.cpp +++ b/src/engine/platform/gbadma.cpp @@ -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); diff --git a/src/gui/settings.cpp b/src/gui/settings.cpp index cbef9ce30..1c58dabce 100644 --- a/src/gui/settings.cpp +++ b/src/gui/settings.cpp @@ -4705,8 +4705,8 @@ void FurnaceGUI::drawSettings() { // these are the cheat codes: // "Debug" - toggles mobile UI // "Nice Amiga cover of the song!" - enables hidden systems (YMU759/Dummy) + // "this chat is gonna turn me into a chain barrel smoker" - enables "modified sine wave" toggle // "42 63" - enables all instrument types - // "Power of the Chip" - enables options for multi-threaded audio // "btcdbcb" - use modern UI padding // "6-7" - OH PLEASE NO // "????" - enables stuff