Change access order for RageFS
Packages > Additional folders > User FS > Initial FS
This commit is contained in:
@@ -230,7 +230,7 @@ RageFileBasic *RageFileDriverDirectReadOnly::Open( const RString &sPath, int iMo
|
||||
{
|
||||
if( iMode & RageFile::WRITE )
|
||||
{
|
||||
iError = EROFS;
|
||||
iError = ERROR_WRITING_NOT_SUPPORTED;
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
|
||||
@@ -546,7 +546,7 @@ static void AdjustMountpoint( RString &sMountPoint )
|
||||
static void AddFilesystemDriver( LoadedDriver *pLoadedDriver )
|
||||
{
|
||||
g_Mutex->Lock();
|
||||
g_pDrivers.push_back(pLoadedDriver);
|
||||
g_pDrivers.insert(g_pDrivers.begin(), pLoadedDriver);
|
||||
g_Mountpoints->LoadFromDrivers( g_pDrivers );
|
||||
g_Mutex->Unlock();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user