Skip to content

Commit

Permalink
C64: I may have solved it
Browse files Browse the repository at this point in the history
  • Loading branch information
tildearrow committed Oct 27, 2023
1 parent fe5587e commit 429119a
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion src/engine/platform/c64.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down

0 comments on commit 429119a

Please sign in to comment.