mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-21 00:38:43 +00:00
Changed segaboot.gcm to be loaded from user dir instead
Changed accept timeout to 10ms
This commit is contained in:
parent
45b137e505
commit
83985cbec4
1 changed files with 2 additions and 3 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue