diff --git a/stepmania/src/arch/Sound/ALSA9Dynamic.cpp b/stepmania/src/arch/Sound/ALSA9Dynamic.cpp index 102e5e0909..239a71e28d 100644 --- a/stepmania/src/arch/Sound/ALSA9Dynamic.cpp +++ b/stepmania/src/arch/Sound/ALSA9Dynamic.cpp @@ -28,7 +28,7 @@ CString LoadALSA() * on use, and this would prevent that from happening. I don't know if anyone actually * does that, though: they're often configured to load snd (the core module) if ALSA * devices are accessed, but hardware drivers are typically loaded on boot. */ - if( !IsADirectory("/proc/asound/") ) + if( !IsADirectory("/rootfs/proc/asound/") ) return "/proc/asound/ does not exist"; ASSERT( Handle == NULL ); diff --git a/stepmania/src/arch/Sound/ALSA9Helpers.cpp b/stepmania/src/arch/Sound/ALSA9Helpers.cpp index ae9664aa65..e6b0edad2a 100644 --- a/stepmania/src/arch/Sound/ALSA9Helpers.cpp +++ b/stepmania/src/arch/Sound/ALSA9Helpers.cpp @@ -167,10 +167,10 @@ void Alsa9Buf::GetSoundCardDebugInfo() return; done = true; - if( DoesFileExist("/proc/asound/version") ) + if( DoesFileExist("/rootfs/proc/asound/version") ) { CString sVersion; - GetFileContents( "/proc/asound/version", sVersion, true ); + GetFileContents( "/rootfs/proc/asound/version", sVersion, true ); LOG->Info( "ALSA: %s", sVersion.c_str() ); } diff --git a/stepmania/src/arch/Sound/RageSoundDriver_OSS.cpp b/stepmania/src/arch/Sound/RageSoundDriver_OSS.cpp index e175718bfa..d15b84dd45 100644 --- a/stepmania/src/arch/Sound/RageSoundDriver_OSS.cpp +++ b/stepmania/src/arch/Sound/RageSoundDriver_OSS.cpp @@ -124,7 +124,7 @@ CString RageSound_OSS::CheckOSSVersion( int fd ) */ #ifndef FORCE_OSS #define ALSA_SNDRV_OSS_VERSION ((3<<16)|(8<<8)|(1<<4)|(0)) - if( version == ALSA_SNDRV_OSS_VERSION && IsADirectory("/proc/asound") ) + if( version == ALSA_SNDRV_OSS_VERSION && IsADirectory("/rootfs/proc/asound") ) return "RageSound_OSS: ALSA detected. ALSA OSS emulation is buggy; use ALSA natively."; #endif if( version )