mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-21 16:58:45 +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");
|
PanicAlertFmt("Failed to open/create: {}", base_path + "s_backup.bin");
|
||||||
|
|
||||||
// This is the firmware for the Triforce
|
// This is the firmware for the Triforce
|
||||||
const std::string sega_boot_filename =
|
const std::string sega_boot_filename = base_path + "segaboot.gcm";
|
||||||
File::GetSysDirectory() + TRI_SYS_DIR + DIR_SEP + "segaboot.gcm";
|
|
||||||
|
|
||||||
if (!File::Exists(sega_boot_filename))
|
if (!File::Exists(sega_boot_filename))
|
||||||
{
|
{
|
||||||
|
@ -262,7 +261,7 @@ static s32 NetDIMMAccept(int fd, struct sockaddr* addr, int* len)
|
||||||
|
|
||||||
timeval timeout;
|
timeval timeout;
|
||||||
timeout.tv_sec = 0;
|
timeout.tv_sec = 0;
|
||||||
timeout.tv_usec = 20000; // 20 milliseconds
|
timeout.tv_usec = 10000; // 10 milliseconds
|
||||||
|
|
||||||
int result = select(0, &readfds, NULL, NULL, &timeout);
|
int result = select(0, &readfds, NULL, NULL, &timeout);
|
||||||
if (result > 0 && FD_ISSET(fd, &readfds))
|
if (result > 0 && FD_ISSET(fd, &readfds))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue