From ea7285d5f110fb24555fadb7bee11ebc83720d91 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Fri, 6 Nov 2026 15:43:21 +0100 Subject: [PATCH] fixup to last guards --- basegraph.cpp | 2 +- control.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/basegraph.cpp b/basegraph.cpp index 28feeafa..0fdc1821 100644 --- a/basegraph.cpp +++ b/basegraph.cpp @@ -1327,8 +1327,8 @@ EX void close_sdl() { close_window(); #if CAP_SDL SDL_Quit(); - #endif sdl_on = false; + #endif graphics_on = false; vid.usingGL = false; } diff --git a/control.cpp b/control.cpp index bfeb8dda..38618bad 100644 --- a/control.cpp +++ b/control.cpp @@ -969,6 +969,7 @@ EX bool is_joy_index(int sym, int index) { #if !CAP_SDL EX bool is_joy_index(int sym, int index) { return false; } +EX bool is_joy_any(int sym) { return false; } #endif #if HDR