From 90a470ab4ace88f3e18d3ab02d0f192945f8197a Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Wed, 16 Mar 2005 02:18:03 +0000 Subject: [PATCH] precache sounds --- stepmania/src/ScreenEvaluation.cpp | 2 +- stepmania/src/ScreenOptions.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/stepmania/src/ScreenEvaluation.cpp b/stepmania/src/ScreenEvaluation.cpp index c37d99e4e3..bb4ccb9f26 100644 --- a/stepmania/src/ScreenEvaluation.cpp +++ b/stepmania/src/ScreenEvaluation.cpp @@ -305,7 +305,7 @@ void ScreenEvaluation::Init() // // load other sounds // - m_soundStart.Load( THEME->GetPathS(m_sName,"start") ); + m_soundStart.Load( THEME->GetPathS(m_sName,"start"), true ); // diff --git a/stepmania/src/ScreenOptions.cpp b/stepmania/src/ScreenOptions.cpp index f63980084a..58f881833e 100644 --- a/stepmania/src/ScreenOptions.cpp +++ b/stepmania/src/ScreenOptions.cpp @@ -110,8 +110,8 @@ void ScreenOptions::Init() m_SoundChangeCol.Load( THEME->GetPathS(m_sName,"change"), true ); m_SoundNextRow.Load( THEME->GetPathS(m_sName,"next"), true ); m_SoundPrevRow.Load( THEME->GetPathS(m_sName,"prev"), true ); - m_SoundToggleOn.Load( THEME->GetPathS(m_sName,"toggle on") ); - m_SoundToggleOff.Load( THEME->GetPathS(m_sName,"toggle off") ); + m_SoundToggleOn.Load( THEME->GetPathS(m_sName,"toggle on"), true ); + m_SoundToggleOff.Load( THEME->GetPathS(m_sName,"toggle off"), true ); // add everything to m_framePage so we can animate everything at once this->AddChild( &m_framePage );