From 5615547f7d6852be5f710740a1bbd7911a494b9d Mon Sep 17 00:00:00 2001 From: Michael Pavone Date: Fri, 12 May 2017 23:33:00 -0700 Subject: 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 --- render_sdl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'render_sdl.c') diff --git a/render_sdl.c b/render_sdl.c index f993ae5..d2fda42 100755 --- a/render_sdl.c +++ b/render_sdl.c @@ -494,7 +494,7 @@ void render_init(int width, int height, char * title, uint8_t fullscreen) 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); -- cgit v1.2.3