1
0
mirror of https://github.com/TomHarte/CLK.git synced 2025-01-13 07:30:21 +00:00

Gives the static analyser an opinion, at least.

This commit is contained in:
Thomas Harte 2019-02-28 20:59:07 -05:00
parent 816ad0a94c
commit 903f9b5240

View File

@ -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. // Blindly accept disks for now.
target->media.disks = media.disks; target->media.disks = media.disks;
target->has_disk_drive = !media.disks.empty(); target->has_disk_drive = !media.disks.empty();