summaryrefslogtreecommitdiff
path: root/render_sdl.c
diff options
context:
space:
mode:
authorMichael Pavone <pavone@retrodev.com>2017-05-12 23:33:00 -0700
committerMichael Pavone <pavone@retrodev.com>2017-05-12 23:33:00 -0700
commit5615547f7d6852be5f710740a1bbd7911a494b9d (patch)
tree738d42cf4b525caa40cad098b2b95cde4460cea1 /render_sdl.c
parent91c8e9c9c93625d6812abf1e1de0a150b7048e8a (diff)
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
Diffstat (limited to 'render_sdl.c')
-rwxr-xr-xrender_sdl.c2
1 files changed, 1 insertions, 1 deletions
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);