(Settings data) Cleanups

This commit is contained in:
Twinaphex 2014-07-18 00:33:01 +02:00
parent 675bcd23e7
commit 0f53d9a761

View File

@ -735,12 +735,14 @@ static void general_change_handler(const void *data)
#endif
else if (!strcmp(setting->name, "video_shared_context"))
g_settings.video.shared_context = *setting->value.boolean;
#ifdef HAVE_NETPLAY
else if (!strcmp(setting->name, "netplay_enable"))
g_extern.netplay_enable = *setting->value.boolean;
else if (!strcmp(setting->name, "netplay_mode"))
g_extern.netplay_is_client = *setting->value.boolean;
else if (!strcmp(setting->name, "netplay_spectator_mode_enable"))
g_extern.netplay_is_spectate = *setting->value.boolean;
#endif
else if (!strcmp(setting->name, "log_verbosity"))
g_extern.verbose = *setting->value.boolean;
else if (!strcmp(setting->name, "perfcnt_enable"))