use FOREACH_GameController

This commit is contained in:
Glenn Maynard
2006-09-26 20:56:38 +00:00
parent a7e98a7ece
commit 8e6f1e8dd0
+2 -2
View File
@@ -72,7 +72,7 @@ void ScreenMapControllers::Init()
// header row // header row
{ {
for( int c=0; c<MAX_GAME_CONTROLLERS; c++ ) FOREACH_GameController( c )
{ {
BitmapText &text = m_textLabel[c]; BitmapText &text = m_textLabel[c];
text.LoadFromFont( THEME->GetPathF("Common","title") ); text.LoadFromFont( THEME->GetPathF("Common","title") );
@@ -115,7 +115,7 @@ void ScreenMapControllers::Init()
m_Line[iRow].AddChild( pSecondary ); m_Line[iRow].AddChild( pSecondary );
} }
for( int c=0; c<MAX_GAME_CONTROLLERS; c++ ) FOREACH_GameController( c )
{ {
for( int s=0; s<NUM_SHOWN_GAME_TO_DEVICE_SLOTS; s++ ) for( int s=0; s<NUM_SHOWN_GAME_TO_DEVICE_SLOTS; s++ )
{ {