From 903f9b524026c9bc95d6304822f889f29ecf510c Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Thu, 28 Feb 2019 20:59:07 -0500 Subject: [PATCH] Gives the static analyser an opinion, at least. --- Analyser/Static/MSX/StaticAnalyser.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Analyser/Static/MSX/StaticAnalyser.cpp b/Analyser/Static/MSX/StaticAnalyser.cpp index ab94fd467..9e361c460 100644 --- a/Analyser/Static/MSX/StaticAnalyser.cpp +++ b/Analyser/Static/MSX/StaticAnalyser.cpp @@ -285,6 +285,10 @@ Analyser::Static::TargetList Analyser::Static::MSX::GetTargets(const Media &medi } } + // Region selection: for now, this as simple as: + // "If a tape is involved, be European. Otherwise be American (i.e. English, but 60Hz)". + target->region = target->media.tapes.empty() ? Target::Region::USA : Target::Region::Europe; + // Blindly accept disks for now. target->media.disks = media.disks; target->has_disk_drive = !media.disks.empty();