From 10cea9956b3dcd3e1af265ed8e49b130b0840da8 Mon Sep 17 00:00:00 2001 From: tildearrow Date: Tue, 15 Mar 2022 18:30:29 -0500 Subject: [PATCH] X1-010: fix crash --- src/engine/platform/x1_010.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/engine/platform/x1_010.cpp b/src/engine/platform/x1_010.cpp index 8d1338e14..822f2c40b 100644 --- a/src/engine/platform/x1_010.cpp +++ b/src/engine/platform/x1_010.cpp @@ -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;