don't FixSlashes on the memory card OS path. This is a system path, not a RageFile path, so it doesn't need to follow our rules.
This commit is contained in:
@@ -478,8 +478,6 @@ void PrefsManager::ReadPrefsFromIni( const IniFile &ini )
|
|||||||
|
|
||||||
// validate
|
// validate
|
||||||
m_iSongsPerPlay.Set( clamp(m_iSongsPerPlay.Get(),0,MAX_SONGS_PER_PLAY) );
|
m_iSongsPerPlay.Set( clamp(m_iSongsPerPlay.Get(),0,MAX_SONGS_PER_PLAY) );
|
||||||
FOREACH_PlayerNumber( pn )
|
|
||||||
m_sMemoryCardOsMountPoint[pn].Set( FixSlashes(m_sMemoryCardOsMountPoint[pn]) );
|
|
||||||
m_BackgroundMode.Set( (BackgroundMode)clamp((int)m_BackgroundMode.Get(),0,(int)NUM_BackgroundMode-1) );
|
m_BackgroundMode.Set( (BackgroundMode)clamp((int)m_BackgroundMode.Get(),0,(int)NUM_BackgroundMode-1) );
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -22,7 +22,6 @@ bool UsbStorageDevice::operator==(const UsbStorageDevice& other) const
|
|||||||
void UsbStorageDevice::SetOsMountDir( const CString &s )
|
void UsbStorageDevice::SetOsMountDir( const CString &s )
|
||||||
{
|
{
|
||||||
sOsMountDir = s;
|
sOsMountDir = s;
|
||||||
FixSlashesInPlace( sOsMountDir );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
Reference in New Issue
Block a user