changeset 1359:8c6d2ed3b959

Use printf rather than info_message for message about game controller mappings so it does not pop up a modal when not run from a terminal
author Michael Pavone <pavone@retrodev.com>
date Fri, 12 May 2017 23:33:00 -0700
parents 3716b90d3470
children e1a6e8ee656f
files render_sdl.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/render_sdl.c	Thu May 11 20:33:31 2017 -0700
+++ b/render_sdl.c	Fri May 12 23:33:00 2017 -0700
@@ -494,7 +494,7 @@
 	if (db_data) {
 		int added = SDL_GameControllerAddMappingsFromRW(SDL_RWFromMem(db_data, db_size), 1);
 		free(db_data);
-		info_message("Added %d game controller mappings from gamecontrollerdb.txt\n", added);
+		printf("Added %d game controller mappings from gamecontrollerdb.txt\n", added);
 	}
 	
 	SDL_JoystickEventState(SDL_ENABLE);