From 3e3e6ed97604dd1c2a9759785b0442ca773a3de4 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sat, 27 Jul 2013 20:14:29 +0200 Subject: [PATCH] Get rid of MODE_VIDEO_PAL_VSYNC_BLOCK --- frontend/menu/rmenu.c | 4 ---- general.h | 1 - 2 files changed, 5 deletions(-) diff --git a/frontend/menu/rmenu.c b/frontend/menu/rmenu.c index 0d63d14b12..f7c537c13c 100644 --- a/frontend/menu/rmenu.c +++ b/frontend/menu/rmenu.c @@ -847,7 +847,6 @@ static int set_setting_action(uint8_t menu_type, unsigned switchvalue, uint64_t { g_extern.lifecycle_mode_state &= ~(1ULL << MODE_VIDEO_PAL_ENABLE); g_extern.lifecycle_mode_state &= ~(1ULL << MODE_VIDEO_PAL_TEMPORAL_ENABLE); - g_extern.lifecycle_mode_state &= ~(1ULL << MODE_VIDEO_PAL_VSYNC_BLOCK); } @@ -863,12 +862,10 @@ static int set_setting_action(uint8_t menu_type, unsigned switchvalue, uint64_t if (g_extern.lifecycle_mode_state & (1ULL << MODE_VIDEO_PAL_TEMPORAL_ENABLE)) { g_extern.lifecycle_mode_state &= ~(1ULL << MODE_VIDEO_PAL_TEMPORAL_ENABLE); - g_extern.lifecycle_mode_state &= ~(1ULL << MODE_VIDEO_PAL_VSYNC_BLOCK); } else { g_extern.lifecycle_mode_state |= (1ULL << MODE_VIDEO_PAL_TEMPORAL_ENABLE); - g_extern.lifecycle_mode_state |= (1ULL << MODE_VIDEO_PAL_VSYNC_BLOCK); } driver.video->restart(); @@ -881,7 +878,6 @@ static int set_setting_action(uint8_t menu_type, unsigned switchvalue, uint64_t if (g_extern.lifecycle_mode_state & (1ULL << MODE_VIDEO_PAL_ENABLE)) { g_extern.lifecycle_mode_state &= ~(1ULL << MODE_VIDEO_PAL_TEMPORAL_ENABLE); - g_extern.lifecycle_mode_state &= ~(1ULL << MODE_VIDEO_PAL_VSYNC_BLOCK); driver.video->restart(); rgui_init_textures(); diff --git a/general.h b/general.h index 6aa9edb74a..e5ebba7264 100644 --- a/general.h +++ b/general.h @@ -128,7 +128,6 @@ enum menu_enums MODE_VIDEO_SOFT_FILTER_ENABLE, MODE_VIDEO_PAL_ENABLE, MODE_VIDEO_PAL_TEMPORAL_ENABLE, - MODE_VIDEO_PAL_VSYNC_BLOCK, MODE_AUDIO_CUSTOM_BGM_ENABLE, MODE_OSK_ENTRY_SUCCESS, MODE_OSK_ENTRY_FAIL,