platform/pocketpc.c
changeset 844 68272bd212a5
parent 828 ee871d51510d
child 845 3f150ffcf50c
equal deleted inserted replaced
843:9718b7ac2573 844:68272bd212a5
   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);