forked from jaildesigner-jailgames/jaildoctors_dilemma
Cambiando printf a std::cout
This commit is contained in:
@@ -183,7 +183,7 @@ bool Input::discoverGameController()
|
||||
|
||||
if (SDL_GameControllerAddMappingsFromFile(dbPath.c_str()) < 0)
|
||||
{
|
||||
printf("Error, could not load %s file: %s\n", dbPath.c_str(), SDL_GetError());
|
||||
std::cout << "Error, could not load " << dbPath.c_str() << " file: " << SDL_GetError() << std::endl;
|
||||
}
|
||||
|
||||
const int nJoysticks = SDL_NumJoysticks();
|
||||
@@ -198,8 +198,8 @@ bool Input::discoverGameController()
|
||||
}
|
||||
}
|
||||
|
||||
printf("\nChecking for game controllers...\n");
|
||||
printf("%i joysticks found, %i are gamepads\n", nJoysticks, numGamepads);
|
||||
std::cout << "\nChecking for game controllers...\n";
|
||||
std::cout << nJoysticks << " joysticks found, " << numGamepads << " are gamepads\n";
|
||||
|
||||
if (numGamepads > 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user