From 6f8e3c5d811fe52fdd299c1088d1f6e98667e3b5 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Thu, 17 Jul 2014 18:31:32 +0200 Subject: [PATCH] Cleanups --- gfx/gfx_common.h | 10 ---------- settings_data.c | 2 +- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/gfx/gfx_common.h b/gfx/gfx_common.h index 82ceac18f7..768d104af9 100644 --- a/gfx/gfx_common.h +++ b/gfx/gfx_common.h @@ -41,14 +41,6 @@ void gfx_set_dwm(void); void gfx_scale_integer(struct rarch_viewport *vp, unsigned win_width, unsigned win_height, float aspect_ratio, bool keep_aspect); -#define MIN_SCALING_FACTOR (1.0f) - -#if defined(__CELLOS_LV2__) -#define MAX_SCALING_FACTOR (5.0f) -#else -#define MAX_SCALING_FACTOR (2.0f) -#endif - enum aspect_ratio { ASPECT_RATIO_4_3 = 0, @@ -91,8 +83,6 @@ enum rotation ORIENTATION_END }; -#define LAST_ORIENTATION (ORIENTATION_END - 1) - extern char rotation_lut[4][32]; /* ABGR color format defines */ diff --git a/settings_data.c b/settings_data.c index 468842ed70..754b0ad9e4 100644 --- a/settings_data.c +++ b/settings_data.c @@ -950,7 +950,7 @@ rarch_setting_t* setting_data_get_list(void) START_SUB_GROUP("Miscellaneous") CONFIG_STRING(g_settings.audio.device, "audio_device", "Device", "", GROUP_NAME, SUBGROUP_NAME, general_change_handler) - CONFIG_UINT(g_settings.audio.out_rate, "audio_out_rate", "Ouput Rate", out_rate, GROUP_NAME, SUBGROUP_NAME, general_change_handler) + CONFIG_UINT(g_settings.audio.out_rate, "audio_out_rate", "Audio Output Rate", out_rate, GROUP_NAME, SUBGROUP_NAME, general_change_handler) CONFIG_PATH(g_settings.audio.dsp_plugin, "audio_dsp_plugin", "DSP Plugin", "", GROUP_NAME, SUBGROUP_NAME, general_change_handler) WITH_FLAGS(SD_FLAG_ALLOW_EMPTY) END_SUB_GROUP() END_GROUP()