mirror of
https://github.com/libretro/RetroArch
synced 2025-04-09 21:45:45 +00:00
Fix save state screenshot visibility (#17119)
This commit is contained in:
parent
66eead3afa
commit
771dabbf56
@ -3708,10 +3708,10 @@ static void ozone_update_savestate_thumbnail_path(void *data, unsigned i)
|
|||||||
|
|
||||||
if (!string_is_empty(entry.label))
|
if (!string_is_empty(entry.label))
|
||||||
{
|
{
|
||||||
if ( string_to_unsigned(entry.label) == MENU_ENUM_LABEL_STATE_SLOT
|
if ( string_to_unsigned(entry.label) == MENU_ENUM_LABEL_STATE_SLOT
|
||||||
|| string_is_equal(entry.label, "state_slot")
|
|| string_is_equal(entry.label, msg_hash_to_str(MENU_ENUM_LABEL_STATE_SLOT))
|
||||||
|| string_is_equal(entry.label, "loadstate")
|
|| string_is_equal(entry.label, msg_hash_to_str(MENU_ENUM_LABEL_LOAD_STATE))
|
||||||
|| string_is_equal(entry.label, "savestate"))
|
|| string_is_equal(entry.label, msg_hash_to_str(MENU_ENUM_LABEL_SAVE_STATE)))
|
||||||
{
|
{
|
||||||
size_t _len;
|
size_t _len;
|
||||||
char path[PATH_MAX_LENGTH * 2];
|
char path[PATH_MAX_LENGTH * 2];
|
||||||
|
@ -6884,10 +6884,10 @@ static void rgui_update_savestate_thumbnail_path(void *data, unsigned i)
|
|||||||
|
|
||||||
if (!string_is_empty(entry.label))
|
if (!string_is_empty(entry.label))
|
||||||
{
|
{
|
||||||
if ( string_to_unsigned(entry.label) == MENU_ENUM_LABEL_STATE_SLOT
|
if ( string_to_unsigned(entry.label) == MENU_ENUM_LABEL_STATE_SLOT
|
||||||
|| string_is_equal(entry.label, "state_slot")
|
|| string_is_equal(entry.label, msg_hash_to_str(MENU_ENUM_LABEL_STATE_SLOT))
|
||||||
|| string_is_equal(entry.label, "loadstate")
|
|| string_is_equal(entry.label, msg_hash_to_str(MENU_ENUM_LABEL_LOAD_STATE))
|
||||||
|| string_is_equal(entry.label, "savestate"))
|
|| string_is_equal(entry.label, msg_hash_to_str(MENU_ENUM_LABEL_SAVE_STATE)))
|
||||||
{
|
{
|
||||||
size_t _len;
|
size_t _len;
|
||||||
char path[PATH_MAX_LENGTH * 2];
|
char path[PATH_MAX_LENGTH * 2];
|
||||||
|
@ -1256,10 +1256,10 @@ static void xmb_update_savestate_thumbnail_path(void *data, unsigned i)
|
|||||||
|
|
||||||
if (!string_is_empty(entry.label))
|
if (!string_is_empty(entry.label))
|
||||||
{
|
{
|
||||||
if ( (string_to_unsigned(entry.label) == MENU_ENUM_LABEL_STATE_SLOT)
|
if ( string_to_unsigned(entry.label) == MENU_ENUM_LABEL_STATE_SLOT
|
||||||
|| string_is_equal(entry.label, "state_slot")
|
|| string_is_equal(entry.label, msg_hash_to_str(MENU_ENUM_LABEL_STATE_SLOT))
|
||||||
|| string_is_equal(entry.label, "loadstate")
|
|| string_is_equal(entry.label, msg_hash_to_str(MENU_ENUM_LABEL_LOAD_STATE))
|
||||||
|| string_is_equal(entry.label, "savestate"))
|
|| string_is_equal(entry.label, msg_hash_to_str(MENU_ENUM_LABEL_SAVE_STATE)))
|
||||||
{
|
{
|
||||||
size_t _len;
|
size_t _len;
|
||||||
char path[PATH_MAX_LENGTH * 2];
|
char path[PATH_MAX_LENGTH * 2];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user