From 632cde7863b59a9435e29f16265337e109eaea5d Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Fri, 14 Feb 2003 06:43:23 +0000 Subject: [PATCH] use SDL_Delay to sleep --- stepmania/src/ScreenAttract.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/stepmania/src/ScreenAttract.cpp b/stepmania/src/ScreenAttract.cpp index e4ce1a063b..5484c750fc 100644 --- a/stepmania/src/ScreenAttract.cpp +++ b/stepmania/src/ScreenAttract.cpp @@ -23,7 +23,7 @@ #include "GameManager.h" #include "InputMapper.h" #include "ThemeManager.h" -#include "SDL_Utils.h" +#include "SDL_utils.h" #include "RageSoundManager.h" #define SECONDS_TO_SHOW THEME->GetMetricF(m_sMetricName,"SecondsToShow") @@ -103,7 +103,7 @@ void ScreenAttract::Input( const DeviceInput& DeviceI, const InputEventType type /* Credit already taken care of.. go forth -- Miryokuteki */ //Screen::MenuCoin( MenuI.player ); // increment coins, play sound SOUNDMAN->StopMusic(); - ::Sleep( 800 ); // do a little pause, like the arcade does + SDL_Delay( 800 ); // do a little pause, like the arcade does SCREENMAN->SetNewScreen( "ScreenTitleMenu" ); break; case MENU_BUTTON_START: @@ -119,7 +119,7 @@ void ScreenAttract::Input( const DeviceInput& DeviceI, const InputEventType type case PrefsManager::COIN_HOME: SOUNDMAN->StopMusic(); SOUNDMAN->PlayOnce( THEME->GetPathTo("Sounds","insert coin") ); - ::Sleep( 800 ); // do a little pause, like the arcade does + SDL_Delay( 800 ); // do a little pause, like the arcade does SCREENMAN->SetNewScreen( "ScreenTitleMenu" ); break; default: