diff --git a/general.h b/general.h index 164d0e12d2..9460a935c6 100644 --- a/general.h +++ b/general.h @@ -142,7 +142,6 @@ enum menu_enums MODE_EXITSPAWN, MODE_EXITSPAWN_START_GAME, MODE_EXITSPAWN_MULTIMAN, - MODE_VIDEO_TRIPLE_BUFFERING_ENABLE, MODE_OSK_ENTRY_SUCCESS, MODE_OSK_ENTRY_FAIL, MODE_CLEAR_INPUT, diff --git a/gfx/context/ps3_ctx.c b/gfx/context/ps3_ctx.c index 4ede30ce16..e4c19da36a 100644 --- a/gfx/context/ps3_ctx.c +++ b/gfx/context/ps3_ctx.c @@ -230,13 +230,6 @@ static bool gfx_ctx_init(void *data) params.depthFormat = GL_NONE; params.multisamplingMode = GL_MULTISAMPLING_NONE_SCE; - if (g_extern.lifecycle_state & (1ULL << MODE_VIDEO_TRIPLE_BUFFERING_ENABLE)) - { - RARCH_LOG("[PSGL Context]: Setting triple buffering.\n"); - params.enable |= PSGL_DEVICE_PARAMETERS_BUFFERING_MODE; - params.bufferingMode = PSGL_BUFFERING_MODE_TRIPLE; - } - if (g_extern.console.screen.resolutions.current.id) { params.enable |= PSGL_DEVICE_PARAMETERS_WIDTH_HEIGHT; diff --git a/settings.c b/settings.c index 202210b611..43a612d9df 100644 --- a/settings.c +++ b/settings.c @@ -454,7 +454,6 @@ void config_set_defaults(void) g_extern.console.sound.system_bgm_enable = false; #ifdef RARCH_CONSOLE g_extern.console.screen.gamma_correction = DEFAULT_GAMMA; - g_extern.lifecycle_state |= (1ULL << MODE_VIDEO_TRIPLE_BUFFERING_ENABLE); g_extern.console.screen.resolutions.current.id = 0; g_extern.console.sound.mode = SOUND_MODE_NORMAL; @@ -865,16 +864,6 @@ bool config_load_file(const char *path, bool set_defaults) CONFIG_GET_BOOL_EXTERN(console.screen.gamma_correction, "gamma_correction"); - bool triple_buffering_enable = false; - - if (config_get_bool(conf, "triple_buffering_enable", &triple_buffering_enable)) - { - if (triple_buffering_enable) - g_extern.lifecycle_state |= (1ULL << MODE_VIDEO_TRIPLE_BUFFERING_ENABLE); - else - g_extern.lifecycle_state &= ~(1ULL << MODE_VIDEO_TRIPLE_BUFFERING_ENABLE); - } - config_get_bool(conf, "custom_bgm_enable", &g_extern.console.sound.system_bgm_enable); config_get_bool(conf, "flicker_filter_enable", &g_extern.console.flickerfilter_enable); config_get_bool(conf, "soft_filter_enable", &g_extern.console.softfilter_enable); @@ -1403,9 +1392,7 @@ bool config_save_file(const char *path) #endif config_set_bool(conf, "gamma_correction", g_extern.console.screen.gamma_correction); - bool triple_buffering_enable_val = g_extern.lifecycle_state & (1ULL << MODE_VIDEO_TRIPLE_BUFFERING_ENABLE); - config_set_bool(conf, "triple_buffering_enable", triple_buffering_enable_val); config_set_bool(conf, "soft_filter_enable", g_extern.console.softfilter_enable); config_set_bool(conf, "flicker_filter_enable", g_extern.console.flickerfilter_enable);