X1-010: fix crash

This commit is contained in:
tildearrow 2022-03-15 18:30:29 -05:00
parent ff2b3e77a0
commit 10cea9956b
1 changed files with 4 additions and 1 deletions

View File

@ -855,7 +855,10 @@ void DivPlatformX1_010::setFlags(unsigned int flags) {
case 1: // 16.67MHz (later hardwares)
chipClock=50000000.0/3.0;
break;
// Other clock is used?
// Other clock is used
default:
chipClock=16000000;
break;
}
rate=chipClock/512;
stereo=flags&16;