plaform-independent handling of Portable.ini. Portable mode no longer saves inside of a directory called Portable in Win32 (made the platform-independent logic simpler).
This commit is contained in:
@@ -949,6 +949,10 @@ int main(int argc, char* argv[])
|
||||
/* Almost everything uses this to read and write files. Load this early. */
|
||||
FILEMAN = new RageFileManager( argv[0] );
|
||||
FILEMAN->MountInitialFilesystems();
|
||||
bool bPortable = DoesFileExist("Portable.ini");
|
||||
if( !bPortable )
|
||||
FILEMAN->MountUserFilesystems();
|
||||
|
||||
|
||||
/* Set this up next. Do this early, since it's needed for RageException::Throw. */
|
||||
LOG = new RageLog;
|
||||
|
||||
Reference in New Issue
Block a user