From 3b9c5f18fba4f6d8644c5a63c6eb23a7f7b5346f Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sat, 30 Sep 2006 19:54:27 +0000 Subject: [PATCH] GetInputScheme --- stepmania/src/arch/Lights/LightsDriver_LinuxParallel.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stepmania/src/arch/Lights/LightsDriver_LinuxParallel.cpp b/stepmania/src/arch/Lights/LightsDriver_LinuxParallel.cpp index a8e05a4f83..170cdffb46 100644 --- a/stepmania/src/arch/Lights/LightsDriver_LinuxParallel.cpp +++ b/stepmania/src/arch/Lights/LightsDriver_LinuxParallel.cpp @@ -9,7 +9,7 @@ #include #include "LightsDriver_LinuxParallel.h" #include "ScreenManager.h" -#include "GameState.h" +#include "InputMapper.h" #include "Game.h" static const int PORT_ADDRESS = 0x378; @@ -51,7 +51,7 @@ void LightsDriver_LinuxParallel::Set( const LightsState *ls ) } s += "\n"; - int iNumGameButtonsToShow = GAMESTATE->m_pCurGame->GetNumGameplayButtons(); + int iNumGameButtonsToShow = INPUTMAPPER->GetInputScheme()->GetNumGameplayButtons(); FOREACH_GameController( gc ) { s += ssprintf("Controller%d Bits: ",gc+1);