From 483dbd9aff377acbad9a21b9a871b92d33688d45 Mon Sep 17 00:00:00 2001 From: UnknownShadow200 Date: Fri, 26 Apr 2024 11:35:26 +1000 Subject: [PATCH] Dreamcast: Fix no debug logging messages --- src/Platform_Dreamcast.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Platform_Dreamcast.c b/src/Platform_Dreamcast.c index e2e33cd79..0962842e7 100644 --- a/src/Platform_Dreamcast.c +++ b/src/Platform_Dreamcast.c @@ -446,6 +446,9 @@ static uint8 partition_type; static void InitSDCard(void) { if (sd_init()) { + // Both SD card and debug interface use the serial port + // So if initing SD card fails, need to restore serial port state for debug logging + scif_init(); Platform_LogConst("Failed to init SD card"); return; }