From 70942eda8cec0f3a92bc1ebcb8dba2401f7ed90a Mon Sep 17 00:00:00 2001 From: Bryce Wilson Date: Sat, 11 Jan 2025 22:54:48 -0800 Subject: [PATCH] BizHawkClient: Fix version warning not falling through to regular execution (#4463) --- data/lua/connector_bizhawk_generic.lua | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/data/lua/connector_bizhawk_generic.lua b/data/lua/connector_bizhawk_generic.lua index 00021b24..6c5af87e 100644 --- a/data/lua/connector_bizhawk_generic.lua +++ b/data/lua/connector_bizhawk_generic.lua @@ -613,9 +613,11 @@ end) if bizhawk_major < 2 or (bizhawk_major == 2 and bizhawk_minor < 7) then print("Must use BizHawk 2.7.0 or newer") -elseif bizhawk_major > 2 or (bizhawk_major == 2 and bizhawk_minor > 9) then - print("Warning: This version of BizHawk is newer than this script. If it doesn't work, consider downgrading to 2.9.") else + if bizhawk_major > 2 or (bizhawk_major == 2 and bizhawk_minor > 10) then + print("Warning: This version of BizHawk is newer than this script. If it doesn't work, consider downgrading to 2.10.") + end + if emu.getsystemid() == "NULL" then print("No ROM is loaded. Please load a ROM.") while emu.getsystemid() == "NULL" do