1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-23 03:32:32 +00:00

Adds a default selection, for invalid models.

This commit is contained in:
Thomas Harte 2019-01-25 19:31:44 -05:00 committed by Thomas Harte
parent 6a43fc5df0
commit 097bc7055e

View File

@ -386,6 +386,7 @@ class ConcreteMachine:
private: private:
static TI::TMS::Personality tms_personality_for_model(Analyser::Static::Sega::Target::Model model) { static TI::TMS::Personality tms_personality_for_model(Analyser::Static::Sega::Target::Model model) {
switch(model) { switch(model) {
default:
case Target::Model::SG1000: return TI::TMS::TMS9918A; case Target::Model::SG1000: return TI::TMS::TMS9918A;
case Target::Model::MasterSystem: return TI::TMS::SMSVDP; case Target::Model::MasterSystem: return TI::TMS::SMSVDP;
case Target::Model::MasterSystem2: return TI::TMS::SMS2VDP; case Target::Model::MasterSystem2: return TI::TMS::SMS2VDP;