mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-31 08:33:40 +00:00
Call rarch_main_iterate_linefeed_overlay only when HAVE_OVERLAY is defined
This commit is contained in:
parent
b0fe8d719a
commit
b064838da7
@ -1034,7 +1034,8 @@ void rarch_main_iterate_overlay_state(void)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static void rarch_main_iterate_linefeed(void)
|
#ifdef HAVE_OVERLAY
|
||||||
|
static void rarch_main_iterate_linefeed_overlay(void)
|
||||||
{
|
{
|
||||||
static char prev_overlay_restore = false;
|
static char prev_overlay_restore = false;
|
||||||
|
|
||||||
@ -1058,6 +1059,7 @@ static void rarch_main_iterate_linefeed(void)
|
|||||||
prev_overlay_restore = false;
|
prev_overlay_restore = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* rarch_main_iterate:
|
* rarch_main_iterate:
|
||||||
@ -1090,9 +1092,9 @@ int rarch_main_iterate(void)
|
|||||||
|
|
||||||
do_pre_state_checks(input, old_input, trigger_input);
|
do_pre_state_checks(input, old_input, trigger_input);
|
||||||
|
|
||||||
rarch_main_iterate_linefeed();
|
|
||||||
|
|
||||||
#ifdef HAVE_OVERLAY
|
#ifdef HAVE_OVERLAY
|
||||||
|
rarch_main_iterate_linefeed_overlay();
|
||||||
|
|
||||||
if (driver.overlay)
|
if (driver.overlay)
|
||||||
rarch_main_iterate_overlay_state();
|
rarch_main_iterate_overlay_state();
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user