mirror of
https://github.com/libretro/RetroArch
synced 2025-03-01 07:13:35 +00:00
Cleanups
This commit is contained in:
parent
8acaa19d01
commit
a1b4ba9280
@ -90,7 +90,7 @@ int generic_action_ok_displaylist_push(const char *path,
|
||||
case ACTION_OK_DL_OPEN_ARCHIVE:
|
||||
if (menu)
|
||||
{
|
||||
menu_path = menu->scratch2_buf;
|
||||
menu_path = menu->scratch2_buf;
|
||||
content_path = menu->scratch_buf;
|
||||
}
|
||||
fill_pathname_join(detect_content_path, menu_path, content_path,
|
||||
|
@ -204,7 +204,7 @@ static void menu_input_search_callback(void *userdata, const char *str)
|
||||
bool menu_input_ctl(enum menu_input_ctl_state state, void *data)
|
||||
{
|
||||
menu_input_t *menu_input = menu_input_get_ptr();
|
||||
menu_handle_t *menu = menu_driver_get_ptr();
|
||||
menu_handle_t *menu = NULL;
|
||||
|
||||
if (!menu_input)
|
||||
return false;
|
||||
@ -212,6 +212,8 @@ bool menu_input_ctl(enum menu_input_ctl_state state, void *data)
|
||||
switch (state)
|
||||
{
|
||||
case MENU_INPUT_CTL_SEARCH_START:
|
||||
menu = menu_driver_get_ptr();
|
||||
|
||||
menu_input->keyboard.display = true;
|
||||
menu_input->keyboard.label = menu_hash_to_str(MENU_VALUE_SEARCH);
|
||||
menu_input->keyboard.buffer =
|
||||
|
Loading…
x
Reference in New Issue
Block a user