equal
deleted
inserted
replaced
223 |
223 |
224 return(retval); |
224 return(retval); |
225 } /* __PHYSFS_platformCvtToDependent */ |
225 } /* __PHYSFS_platformCvtToDependent */ |
226 |
226 |
227 |
227 |
228 void __PHYSFS_platformTimeslice(void) |
|
229 { |
|
230 Sleep(10); |
|
231 } /* __PHYSFS_platformTimeslice */ |
|
232 |
|
233 |
|
234 static int doEnumCallback(const wchar_t *w_fname) |
228 static int doEnumCallback(const wchar_t *w_fname) |
235 { |
229 { |
236 const PHYSFS_uint64 len = (PHYSFS_uint64) ((wcslen(w_fname) * 4) + 1); |
230 const PHYSFS_uint64 len = (PHYSFS_uint64) ((wcslen(w_fname) * 4) + 1); |
237 char *str = (char *) alloca(len); |
231 char *str = (char *) alloca(len); |
238 PHYSFS_utf8fromucs2((const PHYSFS_uint16 *) w_fname, str, len); |
232 PHYSFS_utf8fromucs2((const PHYSFS_uint16 *) w_fname, str, len); |