Change access order for RageFS

Packages > Additional folders > User FS > Initial FS
This commit is contained in:
Martin Natano
2022-03-12 14:14:59 -08:00
committed by teejusb
parent 6defe32d05
commit bb8fc0f4c2
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -230,7 +230,7 @@ RageFileBasic *RageFileDriverDirectReadOnly::Open( const RString &sPath, int iMo
{ {
if( iMode & RageFile::WRITE ) if( iMode & RageFile::WRITE )
{ {
iError = EROFS; iError = ERROR_WRITING_NOT_SUPPORTED;
return nullptr; return nullptr;
} }
+1 -1
View File
@@ -546,7 +546,7 @@ static void AdjustMountpoint( RString &sMountPoint )
static void AddFilesystemDriver( LoadedDriver *pLoadedDriver ) static void AddFilesystemDriver( LoadedDriver *pLoadedDriver )
{ {
g_Mutex->Lock(); g_Mutex->Lock();
g_pDrivers.push_back(pLoadedDriver); g_pDrivers.insert(g_pDrivers.begin(), pLoadedDriver);
g_Mountpoints->LoadFromDrivers( g_pDrivers ); g_Mountpoints->LoadFromDrivers( g_pDrivers );
g_Mutex->Unlock(); g_Mutex->Unlock();
} }