From 0df082d4e14518c8d466efe7cdadd3c34ce4cefb Mon Sep 17 00:00:00 2001 From: rakslice Date: Tue, 17 Nov 2020 04:41:32 -0800 Subject: [PATCH 1/3] add sdlrender pref for BII/Windows (cherry picked from commit 6d9018f5f401b13f1dea02a9368f201f49e66dbd) --- BasiliskII/src/Windows/prefs_windows.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/BasiliskII/src/Windows/prefs_windows.cpp b/BasiliskII/src/Windows/prefs_windows.cpp index 40af3e87..d9d28821 100755 --- a/BasiliskII/src/Windows/prefs_windows.cpp +++ b/BasiliskII/src/Windows/prefs_windows.cpp @@ -49,6 +49,9 @@ prefs_desc platform_prefs_items[] = { {"tcp_port", TYPE_STRING, false, "TCP ports list"}, {"portfile0", TYPE_STRING, false, "output file for serial port 0"}, {"portfile1", TYPE_STRING, false, "output file for serial port 1"}, +#ifdef USE_SDL_VIDEO + {"sdlrender", TYPE_STRING, false, "SDL_Renderer driver (\"auto\", \"software\" (may be faster), etc.)"}, +#endif {NULL, TYPE_END, false, NULL} // End of list }; From cff2024c2e6687ec3c36bd410ec05c351db1dbbd Mon Sep 17 00:00:00 2001 From: rakslice Date: Mon, 9 Nov 2020 13:07:11 -0800 Subject: [PATCH 2/3] add sdlrender pref in SS windows (cherry picked from commit bec7de6e8fd4d67993b1e22ad6d3560608671790) --- SheepShaver/src/Windows/prefs_windows.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/SheepShaver/src/Windows/prefs_windows.cpp b/SheepShaver/src/Windows/prefs_windows.cpp index 067b2aac..037ff248 100755 --- a/SheepShaver/src/Windows/prefs_windows.cpp +++ b/SheepShaver/src/Windows/prefs_windows.cpp @@ -54,7 +54,9 @@ prefs_desc platform_prefs_items[] = { {"tcp_port", TYPE_STRING, false, "TCP ports list"}, {"portfile0", TYPE_STRING, false, "output file for serial port 0"}, {"portfile1", TYPE_STRING, false, "output file for serial port 1"}, - +#ifdef USE_SDL_VIDEO + {"sdlrender", TYPE_STRING, false, "SDL_Renderer driver (\"auto\", \"software\" (may be faster), etc.)"}, +#endif {NULL, TYPE_END, false, NULL} // End of list }; From d7215df688a65702b839d13bdbc8649c432e1a0a Mon Sep 17 00:00:00 2001 From: rakslice Date: Thu, 19 Nov 2020 13:37:45 -0800 Subject: [PATCH 3/3] put back spacing --- SheepShaver/src/Windows/prefs_windows.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/SheepShaver/src/Windows/prefs_windows.cpp b/SheepShaver/src/Windows/prefs_windows.cpp index 037ff248..0e9379e8 100755 --- a/SheepShaver/src/Windows/prefs_windows.cpp +++ b/SheepShaver/src/Windows/prefs_windows.cpp @@ -57,6 +57,7 @@ prefs_desc platform_prefs_items[] = { #ifdef USE_SDL_VIDEO {"sdlrender", TYPE_STRING, false, "SDL_Renderer driver (\"auto\", \"software\" (may be faster), etc.)"}, #endif + {NULL, TYPE_END, false, NULL} // End of list };