mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
Return 'ret' at end of load_content instead of hardcoded 'true'
This commit is contained in:
parent
34876ef432
commit
d1ac905248
@ -1266,7 +1266,9 @@ bool event_cmd_ctl(enum event_command cmd, void *data)
|
||||
}
|
||||
case EVENT_CMD_CORE_INIT:
|
||||
if (!event_init_core())
|
||||
{
|
||||
return false;
|
||||
}
|
||||
break;
|
||||
case EVENT_CMD_VIDEO_APPLY_STATE_CHANGES:
|
||||
video_driver_ctl(RARCH_DISPLAY_CTL_APPLY_STATE_CHANGES, NULL);
|
||||
|
@ -541,7 +541,7 @@ static bool load_content(
|
||||
if (!ret)
|
||||
RARCH_ERR("%s.\n", msg_hash_to_str(MSG_FAILED_TO_LOAD_CONTENT));
|
||||
|
||||
return true;
|
||||
return ret;
|
||||
}
|
||||
|
||||
static bool init_content_file_subsystem(
|
||||
@ -827,7 +827,8 @@ bool content_ctl(enum content_ctl_state state, void *data)
|
||||
content_is_inited = true;
|
||||
return true;
|
||||
}
|
||||
/* fall-through */
|
||||
content_ctl(CONTENT_CTL_DEINIT, NULL);
|
||||
return false;
|
||||
case CONTENT_CTL_TEMPORARY_FREE:
|
||||
if (!temporary_content)
|
||||
return false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user