Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion configuration.c
Original file line number Diff line number Diff line change
Expand Up @@ -3801,7 +3801,7 @@ static bool config_load_file(global_t *global,
struct config_array_setting *array_settings = NULL;
struct config_path_setting *path_settings = NULL;
config_file_t *conf = NULL;
uint16_t rarch_flags = retroarch_get_flags();
uint32_t rarch_flags = retroarch_get_flags();

tmp_str[0] = '\0';

Expand Down
2 changes: 1 addition & 1 deletion retroarch.c
Original file line number Diff line number Diff line change
Expand Up @@ -2023,7 +2023,7 @@ global_t *global_get_ptr(void)
return &global_driver_st;
}

uint16_t retroarch_get_flags(void)
uint32_t retroarch_get_flags(void)
{
struct rarch_state *p_rarch = &rarch_st;
return p_rarch->flags;
Expand Down
2 changes: 1 addition & 1 deletion retroarch.h
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ void retroarch_fail(int error_code, const char *error);

bool should_quit_on_close(void);

uint16_t retroarch_get_flags(void);
uint32_t retroarch_get_flags(void);

RETRO_END_DECLS

Expand Down
12 changes: 6 additions & 6 deletions tasks/task_content.c
Original file line number Diff line number Diff line change
Expand Up @@ -1913,7 +1913,7 @@ bool task_push_start_dummy_core(content_ctx_info_t *content_info)
const char *path_dir_system = settings->paths.directory_system;
bool check_firmware_before_loading = settings->bools.check_firmware_before_loading;
#ifdef HAVE_PATCH
uint16_t rarch_flags = retroarch_get_flags();
uint32_t rarch_flags = retroarch_get_flags();
#endif

if (!content_info)
Expand Down Expand Up @@ -2014,7 +2014,7 @@ bool task_push_load_content_from_playlist_from_menu(
#endif
bool check_firmware_before_loading = settings->bools.check_firmware_before_loading;
#ifdef HAVE_PATCH
uint16_t rarch_flags = retroarch_get_flags();
uint32_t rarch_flags = retroarch_get_flags();
#endif

content_ctx.flags = 0;
Expand Down Expand Up @@ -2166,7 +2166,7 @@ bool task_push_start_current_core(content_ctx_info_t *content_info)
content_ctx.flags |= CONTENT_INFO_FLAG_CHECK_FW_BEFORE_LOADING;
#ifdef HAVE_PATCH
{
uint16_t rarch_flags = retroarch_get_flags();
uint32_t rarch_flags = retroarch_get_flags();
if (rarch_flags & RARCH_FLAGS_IPS_PREF)
content_ctx.flags |= CONTENT_INFO_FLAG_IS_IPS_PREF;
if (rarch_flags & RARCH_FLAGS_BPS_PREF)
Expand Down Expand Up @@ -2412,7 +2412,7 @@ bool task_push_load_content_with_new_core_from_menu(
content_ctx.flags |= CONTENT_INFO_FLAG_CHECK_FW_BEFORE_LOADING;
#ifdef HAVE_PATCH
{
uint16_t rarch_flags = retroarch_get_flags();
uint32_t rarch_flags = retroarch_get_flags();
if (rarch_flags & RARCH_FLAGS_IPS_PREF)
content_ctx.flags |= CONTENT_INFO_FLAG_IS_IPS_PREF;
if (rarch_flags & RARCH_FLAGS_BPS_PREF)
Expand Down Expand Up @@ -2522,7 +2522,7 @@ static bool task_load_content_internal(
const char *path_dir_system = settings->paths.directory_system;
const char *path_dir_cache = settings->paths.directory_cache;
#ifdef HAVE_PATCH
uint16_t rarch_flags = retroarch_get_flags();
uint32_t rarch_flags = retroarch_get_flags();
#endif
content_ctx.flags = 0;

Expand Down Expand Up @@ -3025,7 +3025,7 @@ bool content_init(void)
const char *path_dir_system = settings->paths.directory_system;
const char *path_dir_cache = settings->paths.directory_cache;
#ifdef HAVE_PATCH
uint16_t rarch_flags = retroarch_get_flags();
uint32_t rarch_flags = retroarch_get_flags();
#endif

content_file_list_free(p_content->content_list);
Expand Down
Loading