From a7a7ef52d107aa56bac246fa7415884614651109 Mon Sep 17 00:00:00 2001 From: Falco Girgis Date: Wed, 17 Jul 2024 00:23:44 -0500 Subject: [PATCH] Enlarged Dreamcast maps when 32MB mod detected. - Added code to allow the Dreamcast builds to use double the regular map size (64x64)->(128x64) when the 32MB RAM mod is present. --- src/Server.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/Server.c b/src/Server.c index 506e246a9..b62a3fe62 100644 --- a/src/Server.c +++ b/src/Server.c @@ -26,6 +26,10 @@ #include "Errors.h" #include "Options.h" +#if defined CC_BUILD_DREAMCAST +# include +#endif + static char nameBuffer[STRING_SIZE]; static char motdBuffer[STRING_SIZE]; static char appBuffer[STRING_SIZE]; @@ -134,6 +138,9 @@ static void SPConnection_BeginConnect(void) { #if defined CC_BUILD_NDS || defined CC_BUILD_PS1 || defined CC_BUILD_SATURN || defined CC_BUILD_MACCLASSIC horSize = 16; verSize = 16; +#elif defined CC_BUILD_DREAMCAST + horSize = DBL_MEM? 128 : 64; + verSize = 64; #elif defined CC_BUILD_LOWMEM horSize = 64; verSize = 64;