Get rid of MODE_OSK_DRAW

This commit is contained in:
twinaphex 2013-07-27 20:12:46 +02:00
parent 29b13676c5
commit 248d4e8084
3 changed files with 2 additions and 4 deletions

View File

@ -743,7 +743,7 @@ static bool osk_callback_enter_rsound(void *data)
return false;
do_exit:
g_extern.lifecycle_mode_state &= ~((1ULL << MODE_OSK_DRAW) | (1ULL << MODE_OSK_ENTRY_SUCCESS) |
g_extern.lifecycle_mode_state &= ~((1ULL << MODE_OSK_ENTRY_SUCCESS) |
(1ULL << MODE_OSK_ENTRY_FAIL));
return true;
}
@ -797,7 +797,7 @@ static bool osk_callback_enter_filename(void *data)
return false;
do_exit:
g_extern.lifecycle_mode_state &= ~((1ULL << MODE_OSK_DRAW) | (1ULL << MODE_OSK_ENTRY_SUCCESS) |
g_extern.lifecycle_mode_state &= ~((1ULL << MODE_OSK_ENTRY_SUCCESS) |
(1ULL << MODE_OSK_ENTRY_FAIL));
return true;
}

View File

@ -130,7 +130,6 @@ enum menu_enums
MODE_VIDEO_PAL_TEMPORAL_ENABLE,
MODE_VIDEO_PAL_VSYNC_BLOCK,
MODE_AUDIO_CUSTOM_BGM_ENABLE,
MODE_OSK_DRAW,
MODE_OSK_ENTRY_SUCCESS,
MODE_OSK_ENTRY_FAIL,
};

View File

@ -366,7 +366,6 @@ bool oskutil_start(oskutil_params *params)
goto do_deinit;
params->flags |= OSK_IN_USE;
g_extern.lifecycle_mode_state |= (1ULL << MODE_OSK_DRAW);
return true;