fix compile
This commit is contained in:
@@ -51,7 +51,9 @@ void LightsDriver_LinuxParallel::Set( const LightsState *ls )
|
|||||||
}
|
}
|
||||||
s += "\n";
|
s += "\n";
|
||||||
|
|
||||||
int iNumGameButtonsToShow = INPUTMAPPER->GetInputScheme()->GetNumGameplayButtons();
|
int iNumGameButtonsToShow = INPUTMAPPER->GetInputScheme()->ButtonNameToIndex( "Start" );
|
||||||
|
if( iNumGameButtonsToShow == GameButton_Invalid )
|
||||||
|
iNumGameButtonsToShow = INPUTMAPPER->GetInputScheme()->m_iButtonsPerController;
|
||||||
FOREACH_GameController( gc )
|
FOREACH_GameController( gc )
|
||||||
{
|
{
|
||||||
s += ssprintf("Controller%d Bits: ",gc+1);
|
s += ssprintf("Controller%d Bits: ",gc+1);
|
||||||
|
|||||||
Reference in New Issue
Block a user