X1-010: fix crash
This commit is contained in:
parent
ff2b3e77a0
commit
10cea9956b
|
@ -855,7 +855,10 @@ void DivPlatformX1_010::setFlags(unsigned int flags) {
|
||||||
case 1: // 16.67MHz (later hardwares)
|
case 1: // 16.67MHz (later hardwares)
|
||||||
chipClock=50000000.0/3.0;
|
chipClock=50000000.0/3.0;
|
||||||
break;
|
break;
|
||||||
// Other clock is used?
|
// Other clock is used
|
||||||
|
default:
|
||||||
|
chipClock=16000000;
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
rate=chipClock/512;
|
rate=chipClock/512;
|
||||||
stereo=flags&16;
|
stereo=flags&16;
|
||||||
|
|
Loading…
Reference in New Issue