--- src/gui/sdl_gui.cpp.orig 2026-01-02 23:34:40 UTC
+++ src/gui/sdl_gui.cpp
@@ -3889,6 +3889,7 @@ void GUI_Shortcut(int select) {
shortcutid=select;
shortcut=true;
sel = select;
+#ifndef __FreeBSD__
#if defined(USE_TTF)
if (ttf.inUse && !confres) {
ttf_switch_off();
@@ -3898,12 +3899,14 @@ void GUI_Shortcut(int select) {
} else
#endif
RunCfgTool(0);
+#endif
}
void GUI_Run(bool pressed) {
if (pressed || running) return;
sel = -1;
+#ifndef __FreeBSD__
#if defined(USE_TTF)
if (ttf.inUse) {
ttf_switch_off();
@@ -3913,4 +3916,5 @@ void GUI_Run(bool pressed) {
} else
#endif
RunCfgTool(0);
+#endif
}