From 529341fd7d3e6e609dbc38c4458a324deb65624c Mon Sep 17 00:00:00 2001 From: UnknownShadow200 Date: Thu, 7 Aug 2025 07:25:39 +1000 Subject: [PATCH] Dreamcast: Use blind dialling, partially addresses #1409 --- Makefile | 12 ++++++------ src/dreamcast/Platform_Dreamcast.c | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index e48ba190a..b7bf9acd4 100644 --- a/Makefile +++ b/Makefile @@ -185,15 +185,15 @@ ifeq ($(PLAT),dos) endif -ifdef SDL2 +ifdef BUILD_SDL2 CFLAGS += -DCC_WIN_BACKEND=CC_WIN_BACKEND_SDL2 LIBS += -lSDL2 endif -ifdef SDL3 +ifdef BUILD_SDL3 CFLAGS += -DCC_WIN_BACKEND=CC_WIN_BACKEND_SDL3 LIBS += -lSDL3 endif -ifdef TERMINAL +ifdef BUILD_TERMINAL CFLAGS += -DCC_WIN_BACKEND=CC_WIN_BACKEND_TERMINAL -DCC_GFX_BACKEND=CC_GFX_BACKEND_SOFTGPU LIBS := $(subst mwindows,mconsole,$(LIBS)) endif @@ -246,11 +246,11 @@ dos: $(MAKE) $(TARGET) PLAT=dos # Default overrides sdl2: - $(MAKE) $(TARGET) SDL2=1 + $(MAKE) $(TARGET) BUILD_SDL2=1 sdl3: - $(MAKE) $(TARGET) SDL3=1 + $(MAKE) $(TARGET) BUILD_SDL3=1 terminal: - $(MAKE) $(TARGET) TERMINAL=1 + $(MAKE) $(TARGET) BUILD_TERMINAL=1 release: $(MAKE) $(TARGET) RELEASE=1 diff --git a/src/dreamcast/Platform_Dreamcast.c b/src/dreamcast/Platform_Dreamcast.c index f0ff07410..ffe86c437 100644 --- a/src/dreamcast/Platform_Dreamcast.c +++ b/src/dreamcast/Platform_Dreamcast.c @@ -692,7 +692,7 @@ static void InitModem(void) { ppp_init(); Platform_LogConst("Dialling modem.. (can take ~20 seconds)"); - err = ppp_modem_init("111111111111", 0, NULL); + err = ppp_modem_init("111111111111", 1, NULL); if (err) { Platform_Log1("Establishing link failed (%i)", &err); return; }