From 83985cbec426c4c0910a577a6ee4e293f8455cc4 Mon Sep 17 00:00:00 2001 From: crediar Date: Wed, 16 Jul 2025 23:31:58 +0200 Subject: [PATCH] Changed segaboot.gcm to be loaded from user dir instead Changed accept timeout to 10ms --- Source/Core/Core/HW/DVD/AMMediaboard.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Source/Core/Core/HW/DVD/AMMediaboard.cpp b/Source/Core/Core/HW/DVD/AMMediaboard.cpp index 9507688a50..f9c704c468 100644 --- a/Source/Core/Core/HW/DVD/AMMediaboard.cpp +++ b/Source/Core/Core/HW/DVD/AMMediaboard.cpp @@ -213,8 +213,7 @@ void Init(void) PanicAlertFmt("Failed to open/create: {}", base_path + "s_backup.bin"); // This is the firmware for the Triforce - const std::string sega_boot_filename = - File::GetSysDirectory() + TRI_SYS_DIR + DIR_SEP + "segaboot.gcm"; + const std::string sega_boot_filename = base_path + "segaboot.gcm"; if (!File::Exists(sega_boot_filename)) { @@ -262,7 +261,7 @@ static s32 NetDIMMAccept(int fd, struct sockaddr* addr, int* len) timeval timeout; timeout.tv_sec = 0; - timeout.tv_usec = 20000; // 20 milliseconds + timeout.tv_usec = 10000; // 10 milliseconds int result = select(0, &readfds, NULL, NULL, &timeout); if (result > 0 && FD_ISSET(fd, &readfds))