From d96b59d1af562df44bf40d2a939f580ef03b0da3 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Mon, 11 Jun 2007 18:59:14 +0000 Subject: [PATCH] fix debug --- stepmania/src/arch/Lights/LightsDriver_SystemMessage.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/stepmania/src/arch/Lights/LightsDriver_SystemMessage.cpp b/stepmania/src/arch/Lights/LightsDriver_SystemMessage.cpp index ad60f98556..185fc90bed 100644 --- a/stepmania/src/arch/Lights/LightsDriver_SystemMessage.cpp +++ b/stepmania/src/arch/Lights/LightsDriver_SystemMessage.cpp @@ -30,14 +30,11 @@ void LightsDriver_SystemMessage::Set( const LightsState *ls ) } s += "\n"; - int iNumGameButtonsToShow = INPUTMAPPER->GetInputScheme()->ButtonNameToIndex( "Start" ); - if( iNumGameButtonsToShow == GameButton_Invalid ) - iNumGameButtonsToShow = INPUTMAPPER->GetInputScheme()->m_iButtonsPerController; - + int iNumGameButtonsToShow = INPUTMAPPER->GetInputScheme()->m_iButtonsPerController; FOREACH_GameController( gc ) { s += ssprintf("Controller%d: ",gc+1); - for( int gb=0; gbm_bGameButtonLights[gc][gb] ? '1' : '0'; }