From 429119a186e1facceb1b4da6a9d228c790516678 Mon Sep 17 00:00:00 2001 From: tildearrow Date: Fri, 27 Oct 2023 15:48:36 -0500 Subject: [PATCH] C64: I may have solved it --- src/engine/platform/c64.cpp | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/src/engine/platform/c64.cpp b/src/engine/platform/c64.cpp index cfabd20497..02b511977d 100644 --- a/src/engine/platform/c64.cpp +++ b/src/engine/platform/c64.cpp @@ -616,7 +616,18 @@ void DivPlatformC64::reset() { needInitTables=false; } else if (sidCore==1) { sid_fp->reset(); - sid_fp->clockSilent(16000); + for (int i=0; i<3; i++) { + sid_fp->write(i*7+5,testAD); + sid_fp->write(i*7+6,testSR); + sid_fp->write(i*7+4,8); + } + sid_fp->clockSilent(30000); + for (int i=0; i<3; i++) { + sid_fp->write(i*7+5,testAD); + sid_fp->write(i*7+6,testSR); + sid_fp->write(i*7+4,0); + } + sid_fp->clockSilent(30000); } else { sid->reset(); }