mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-02-09 13:16:05 +00:00
Fix codepath for HAVE_MENU not being defined
This commit is contained in:
parent
32f4bc4b93
commit
eb208b170f
@ -941,6 +941,7 @@ error:
|
||||
return false;
|
||||
}
|
||||
|
||||
#ifdef HAVE_MENU
|
||||
static bool command_event_cmd_exec(const char *data,
|
||||
content_information_ctx_t *content_ctx,
|
||||
bool launched_from_cli,
|
||||
@ -975,6 +976,7 @@ static bool command_event_cmd_exec(const char *data,
|
||||
|
||||
return true;
|
||||
}
|
||||
#endif
|
||||
|
||||
static bool firmware_update_status(
|
||||
content_information_ctx_t *content_ctx)
|
||||
|
@ -58,6 +58,8 @@ static void netplay_crc_scan_callback(void *task_data,
|
||||
return;
|
||||
|
||||
fflush(stdout);
|
||||
|
||||
#ifdef HAVE_MENU
|
||||
if (!string_is_empty(state->core_path) && !string_is_empty(state->content_path) &&
|
||||
memcmp(state->content_path, "N/A", 3) != 0)
|
||||
{
|
||||
@ -68,7 +70,9 @@ static void netplay_crc_scan_callback(void *task_data,
|
||||
CORE_TYPE_PLAIN,
|
||||
NULL, NULL);
|
||||
}
|
||||
else if (!string_is_empty(state->core_path) && !string_is_empty(state->content_path) &&
|
||||
else
|
||||
#endif
|
||||
if (!string_is_empty(state->core_path) && !string_is_empty(state->content_path) &&
|
||||
memcmp(state->content_path, "N/A", 3) == 0)
|
||||
{
|
||||
content_ctx_info_t content_info = {0};
|
||||
|
Loading…
x
Reference in New Issue
Block a user