Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports-kde
Path: blob/main/emulators/dosbox-x/files/patch-src_gui_sdl__gui.cpp
16463 views
1
--- src/gui/sdl_gui.cpp.orig 2024-10-02 06:16:36 UTC
2
+++ src/gui/sdl_gui.cpp
3
@@ -3888,6 +3888,7 @@ void GUI_Shortcut(int select) {
4
shortcutid=select;
5
shortcut=true;
6
sel = select;
7
+#ifndef __FreeBSD__
8
#if defined(USE_TTF)
9
if (ttf.inUse && !confres) {
10
ttf_switch_off();
11
@@ -3897,12 +3898,14 @@ void GUI_Shortcut(int select) {
12
} else
13
#endif
14
RunCfgTool(0);
15
+#endif
16
}
17
18
void GUI_Run(bool pressed) {
19
if (pressed || running) return;
20
21
sel = -1;
22
+#ifndef __FreeBSD__
23
#if defined(USE_TTF)
24
if (ttf.inUse) {
25
ttf_switch_off();
26
@@ -3912,4 +3915,5 @@ void GUI_Run(bool pressed) {
27
} else
28
#endif
29
RunCfgTool(0);
30
+#endif
31
}
32
33