Amiga: fix custom clock

This commit is contained in:
tildearrow 2023-07-22 01:42:05 -05:00
parent 12a8abdf95
commit 2abe76d000
1 changed files with 2 additions and 0 deletions

View File

@ -809,6 +809,8 @@ void DivPlatformAmiga::setFlags(const DivConfig& flags) {
} else {
chipClock=COLOR_NTSC;
}
CHECK_CUSTOM_CLOCK;
rate=chipClock/AMIGA_DIVIDER;
for (int i=0; i<4; i++) {
oscBuf[i]->rate=rate;