This commit is contained in:
twinaphex 2015-11-30 23:38:29 +01:00
parent ca52a19b1d
commit 7114442189
3 changed files with 0 additions and 18 deletions

View File

@ -717,9 +717,6 @@ static void config_set_defaults(void)
settings->user_language = 0;
global->console.sound.system_bgm_enable = false;
#ifdef RARCH_CONSOLE
global->console.sound.mode = SOUND_MODE_NORMAL;
#endif
video_driver_ctl(RARCH_DISPLAY_CTL_DEFAULT_SETTINGS, NULL);
@ -1342,7 +1339,6 @@ static bool config_load_file(const char *path, bool set_defaults)
* important that it works for consoles right now */
config_get_bool(conf, "custom_bgm_enable",
&global->console.sound.system_bgm_enable);
CONFIG_GET_INT_BASE(conf, global, console.sound.mode, "sound_mode");
video_driver_ctl(RARCH_DISPLAY_CTL_LOAD_SETTINGS, conf);
#endif
CONFIG_GET_INT_BASE(conf, settings, state_slot, "state_slot");
@ -2757,7 +2753,6 @@ bool config_save_file(const char *path)
config_set_bool(conf, "config_save_on_exit",
settings->config_save_on_exit);
config_set_int(conf, "sound_mode", global->console.sound.mode);
config_set_int(conf, "state_slot", settings->state_slot);
#ifdef HAVE_NETPLAY

View File

@ -44,18 +44,6 @@
extern "C" {
#endif
enum sound_mode_enums
{
SOUND_MODE_NORMAL = 0,
#ifdef HAVE_RSOUND
SOUND_MODE_RSOUND,
#endif
#ifdef HAVE_HEADSET
SOUND_MODE_HEADSET,
#endif
SOUND_MODE_LAST
};
/**
* retro_fail:
* @error_code : Error code.

View File

@ -278,7 +278,6 @@ typedef struct global
struct
{
unsigned mode;
bool system_bgm_enable;
} sound;