From a949c0ed3723bb4479872f92c69e1490493fd1c2 Mon Sep 17 00:00:00 2001 From: Themaister Date: Tue, 10 Apr 2012 00:18:49 +0200 Subject: [PATCH] Change another use of snes_library_id(). --- console/console_ext.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/console/console_ext.c b/console/console_ext.c index 0223f04b03..24d74e5567 100644 --- a/console/console_ext.c +++ b/console/console_ext.c @@ -465,7 +465,9 @@ const char *ssnes_input_find_platform_key_label(uint64_t joykey) void ssnes_input_set_default_keybind_names_for_emulator(void) { - const char *id = snes_library_id(); + struct retro_system_info info; + retro_get_system_info(&info); + const char *id = info.library_name ? info.library_name : "Unknown"; // Genesis Plus GX/Next if (strstr(id, "Genesis Plus GX"))