On Sunday 07 September 2008 23:01:08 bugs buggy wrote: > Ok, the issue is, that we open the music file. (in base/music). > Then we want to remove base, since we are going to play a MP game. > But we can't since we still have a open file handle. > This leaves it in the physfs search path, and causes us issues. You mean when we start the game we are in "base" mode? SearchPath#base When we then start an MP game we switch to mp mode? SP#mp Correct till now? That causes issues when files from base are still opened when the searchpath is removed? So why dont we just add directories? And before removing any make sure there are no open files? SP#base:mp The no-open-files part would have to be out of the system itself, I think. Checking all open files and refusing to unmount (or closing files on unmount) doesnt sound very clever.
--Devu
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Warzone-dev mailing list [email protected] https://mail.gna.org/listinfo/warzone-dev
