From 097bc7055e5a2269f7773f9a9ac403c369a8765e Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Fri, 25 Jan 2019 19:31:44 -0500 Subject: [PATCH] Adds a default selection, for invalid models. --- Machines/MasterSystem/MasterSystem.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Machines/MasterSystem/MasterSystem.cpp b/Machines/MasterSystem/MasterSystem.cpp index 5a576b831..7400c6dae 100644 --- a/Machines/MasterSystem/MasterSystem.cpp +++ b/Machines/MasterSystem/MasterSystem.cpp @@ -386,6 +386,7 @@ class ConcreteMachine: private: static TI::TMS::Personality tms_personality_for_model(Analyser::Static::Sega::Target::Model model) { switch(model) { + default: case Target::Model::SG1000: return TI::TMS::TMS9918A; case Target::Model::MasterSystem: return TI::TMS::SMSVDP; case Target::Model::MasterSystem2: return TI::TMS::SMS2VDP;