From 8cdef6a5f04d33d109a0e42f354c8bd5ab9fc672 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Mon, 9 Jun 2014 15:42:07 +0200 Subject: [PATCH] Take out RARCH_CONSOLE omission of hats --- settings.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/settings.c b/settings.c index 57d529a45a..d3fd19c11a 100644 --- a/settings.c +++ b/settings.c @@ -1222,7 +1222,6 @@ static void save_keybind_key(config_file_t *conf, const char *prefix, const char config_set_string(conf, key, btn); } -#ifndef RARCH_CONSOLE static void save_keybind_hat(config_file_t *conf, const char *key, const struct retro_keybind *bind) { unsigned hat = GET_HAT(bind->joykey); @@ -1254,7 +1253,6 @@ static void save_keybind_hat(config_file_t *conf, const char *key, const struct snprintf(config, sizeof(config), "h%u%s", hat, dir); config_set_string(conf, key, config); } -#endif static void save_keybind_joykey(config_file_t *conf, const char *prefix, const char *base, const struct retro_keybind *bind) @@ -1264,10 +1262,8 @@ static void save_keybind_joykey(config_file_t *conf, const char *prefix, const c if (bind->joykey == NO_BTN) config_set_string(conf, key, "nul"); -#ifndef RARCH_CONSOLE // Consoles don't understand hats. else if (GET_HAT_DIR(bind->joykey)) save_keybind_hat(conf, key, bind); -#endif else config_set_uint64(conf, key, bind->joykey); }