Small cleanup to cheevos content loading part
This commit is contained in:
parent
181824eb00
commit
8291b18771
|
@ -742,15 +742,17 @@ static bool content_file_load(
|
||||||
if (!special)
|
if (!special)
|
||||||
{
|
{
|
||||||
const char *content_path = content->elems[0].data;
|
const char *content_path = content->elems[0].data;
|
||||||
enum rarch_content_type type = path_is_media_type(content_path);
|
if (!string_is_empty(content_path))
|
||||||
|
{
|
||||||
if (type == RARCH_CONTENT_NONE && !string_is_empty(content_path))
|
enum rarch_content_type type = path_is_media_type(content_path);
|
||||||
rcheevos_load(info);
|
if (type == RARCH_CONTENT_NONE)
|
||||||
else
|
{
|
||||||
rcheevos_pause_hardcore();
|
rcheevos_load(info);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
rcheevos_pause_hardcore();
|
||||||
rcheevos_pause_hardcore();
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in New Issue