aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--simon/simon.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/simon/simon.cpp b/simon/simon.cpp
index 0550373443..eff6a2a4f4 100644
--- a/simon/simon.cpp
+++ b/simon/simon.cpp
@@ -4420,6 +4420,10 @@ void SimonState::go() {
} else {
_subtitles = true;
}
+
+ if (_language == 4 || (_language > 5 && _language < 20))
+ error("Only English, French, German, Hebrew, Italian and Spanish are supported");
+
//Only English and German voice files were produced
if (_language >= 2)
_subtitles = true;