physfs.c
changeset 167 fd695ca50a2c
parent 163 fc2b8ee5b420
child 186 fcabc280b29d
equal deleted inserted replaced
166:ed10fe7cb16e 167:fd695ca50a2c
   425         baseDir = NULL;
   425         baseDir = NULL;
   426         return(0);
   426         return(0);
   427     } /* if */
   427     } /* if */
   428 
   428 
   429     initialized = 1;
   429     initialized = 1;
       
   430 
       
   431     /* This makes sure that the error subsystem is initialized. */
       
   432     __PHYSFS_setError(PHYSFS_getLastError());
   430     return(1);
   433     return(1);
   431 } /* PHYSFS_init */
   434 } /* PHYSFS_init */
   432 
   435 
   433 
   436 
   434 /* MAKE SURE you hold stateLock before calling this! */
   437 /* MAKE SURE you hold stateLock before calling this! */