mirror of
https://github.com/libretro/RetroArch
synced 2025-04-09 21:45:45 +00:00
Cleanup
This commit is contained in:
parent
6a72403f0f
commit
9727be4de6
10
retroarch.c
10
retroarch.c
@ -1516,7 +1516,6 @@ static bool menu_driver_iterate(
|
|||||||
|
|
||||||
static bool menu_driver_init_internal(
|
static bool menu_driver_init_internal(
|
||||||
gfx_display_t *p_disp,
|
gfx_display_t *p_disp,
|
||||||
struct rarch_state *p_rarch,
|
|
||||||
settings_t *settings,
|
settings_t *settings,
|
||||||
bool video_is_threaded)
|
bool video_is_threaded)
|
||||||
{
|
{
|
||||||
@ -1580,8 +1579,8 @@ static bool menu_driver_init_internal(
|
|||||||
|
|
||||||
bool menu_driver_init(bool video_is_threaded)
|
bool menu_driver_init(bool video_is_threaded)
|
||||||
{
|
{
|
||||||
struct rarch_state *p_rarch = &rarch_st;
|
gfx_display_t *p_disp = &rarch_st.dispgfx;
|
||||||
gfx_display_t *p_disp = &p_rarch->dispgfx;
|
settings_t *settings = &rarch_st.configuration_settings;
|
||||||
struct menu_state *menu_st = menu_state_get_ptr();
|
struct menu_state *menu_st = menu_state_get_ptr();
|
||||||
|
|
||||||
command_event(CMD_EVENT_CORE_INFO_INIT, NULL);
|
command_event(CMD_EVENT_CORE_INFO_INIT, NULL);
|
||||||
@ -1589,9 +1588,8 @@ bool menu_driver_init(bool video_is_threaded)
|
|||||||
|
|
||||||
if ( menu_st->driver_data ||
|
if ( menu_st->driver_data ||
|
||||||
menu_driver_init_internal(
|
menu_driver_init_internal(
|
||||||
&p_rarch->dispgfx,
|
p_disp,
|
||||||
p_rarch,
|
settings,
|
||||||
p_rarch->configuration_settings,
|
|
||||||
video_is_threaded))
|
video_is_threaded))
|
||||||
{
|
{
|
||||||
if (menu_st->driver_ctx && menu_st->driver_ctx->context_reset)
|
if (menu_st->driver_ctx && menu_st->driver_ctx->context_reset)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user