From 0fe2d5973f37688930f7dd403c6f3e1745658c8d Mon Sep 17 00:00:00 2001 From: z_demo_z <> Date: Sun, 8 Sep 2002 21:08:25 +0000 Subject: [PATCH] Small fix for network loading --- zsnes/src/win/zfilew.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/zsnes/src/win/zfilew.c b/zsnes/src/win/zfilew.c index 77a24b84..09befdab 100644 --- a/zsnes/src/win/zfilew.c +++ b/zsnes/src/win/zfilew.c @@ -188,7 +188,7 @@ int ConnectGameServer(char *servername, unsigned int port) unsigned long addr1; int yesip; WSADATA wsadata; - int timeout=1000; + int timeout=5000; host1 = gethostbyname(servername); if (host1 == NULL) @@ -357,6 +357,7 @@ OpenConnection(char *User, char *Password, char *FileName) char temp[513]; int cur=0; HMODULE hModule = GetModuleHandle(NULL); + int retval ZLog_Message("Need to open %s",FileName); @@ -444,10 +445,12 @@ OpenConnection(char *User, char *Password, char *FileName) (IDD_LOADING), NULL, NULL); - while(cur