From d2a58e86b70441ce1eefd35dad922a5ddf7722dc Mon Sep 17 00:00:00 2001 From: Willem Date: Fri, 28 Jun 2024 19:10:24 +0200 Subject: [PATCH] Added exit on missing renderer type. --- lib/openmsx/share/scripts/boot_env.tcl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/openmsx/share/scripts/boot_env.tcl b/lib/openmsx/share/scripts/boot_env.tcl index 6ca1bc7..524aeaa 100644 --- a/lib/openmsx/share/scripts/boot_env.tcl +++ b/lib/openmsx/share/scripts/boot_env.tcl @@ -42,6 +42,9 @@ proc boot_gui_mode {} { if {$boot_env_renderer_type != 0} { set renderer $boot_env_renderer_type set throttle on + } else { + puts stderr "error: Requested boot_gui_mode but env.RENDERER_TYPE is missing." + exit 1 } }