mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
Header cleanups
This commit is contained in:
parent
529349019d
commit
204f0183e1
@ -302,9 +302,6 @@ static void menu_driver_toggle(bool on)
|
||||
if (key_event && frontend_key_event)
|
||||
*key_event = *frontend_key_event;
|
||||
}
|
||||
|
||||
/* Prevent stray input */
|
||||
input_driver_set_flushing_input();
|
||||
}
|
||||
|
||||
const char *menu_driver_ident(void)
|
||||
|
@ -20,9 +20,6 @@
|
||||
|
||||
#include <retro_common_api.h>
|
||||
|
||||
#include "../input/input_driver.h"
|
||||
#include "../input/input_keyboard.h"
|
||||
|
||||
RETRO_BEGIN_DECLS
|
||||
|
||||
enum menu_action
|
||||
|
@ -22,6 +22,8 @@
|
||||
|
||||
#include "../menu_driver.h"
|
||||
|
||||
#include "../../input/input_driver.h"
|
||||
#include "../../input/input_keyboard.h"
|
||||
#include "../../input/input_config.h"
|
||||
|
||||
#include "../../configuration.h"
|
||||
|
@ -1299,6 +1299,8 @@ void rarch_menu_running(void)
|
||||
{
|
||||
#ifdef HAVE_MENU
|
||||
menu_driver_ctl(RARCH_MENU_CTL_SET_TOGGLE, NULL);
|
||||
/* Prevent stray input */
|
||||
input_driver_set_flushing_input();
|
||||
#endif
|
||||
#ifdef HAVE_OVERLAY
|
||||
{
|
||||
@ -1313,6 +1315,8 @@ void rarch_menu_running_finished(void)
|
||||
{
|
||||
#ifdef HAVE_MENU
|
||||
menu_driver_ctl(RARCH_MENU_CTL_UNSET_TOGGLE, NULL);
|
||||
/* Prevent stray input */
|
||||
input_driver_set_flushing_input();
|
||||
#endif
|
||||
video_driver_set_texture_enable(false, false);
|
||||
#ifdef HAVE_OVERLAY
|
||||
|
Loading…
x
Reference in New Issue
Block a user