From fe19cdf726feb297353785fe90bad8a7ebc4462e Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Thu, 27 Oct 2005 17:33:01 +0000 Subject: [PATCH] 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. --- stepmania/src/PrefsManager.cpp | 2 -- stepmania/src/arch/MemoryCard/MemoryCardDriver.cpp | 1 - 2 files changed, 3 deletions(-) diff --git a/stepmania/src/PrefsManager.cpp b/stepmania/src/PrefsManager.cpp index eefc53aef4..5e6c1faf14 100644 --- a/stepmania/src/PrefsManager.cpp +++ b/stepmania/src/PrefsManager.cpp @@ -478,8 +478,6 @@ void PrefsManager::ReadPrefsFromIni( const IniFile &ini ) // validate 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) ); diff --git a/stepmania/src/arch/MemoryCard/MemoryCardDriver.cpp b/stepmania/src/arch/MemoryCard/MemoryCardDriver.cpp index cb2ca8883f..668085a7b7 100644 --- a/stepmania/src/arch/MemoryCard/MemoryCardDriver.cpp +++ b/stepmania/src/arch/MemoryCard/MemoryCardDriver.cpp @@ -22,7 +22,6 @@ bool UsbStorageDevice::operator==(const UsbStorageDevice& other) const void UsbStorageDevice::SetOsMountDir( const CString &s ) { sOsMountDir = s; - FixSlashesInPlace( sOsMountDir ); } /*