Skip to content

Commit 158ad0c

Browse files
authored
Enable savestate thumbnails by default for x64 (libretro#17944)
1 parent cd4894d commit 158ad0c

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

config.def.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1401,7 +1401,12 @@
14011401
#define DEFAULT_SAVESTATE_AUTO_SAVE false
14021402
#define DEFAULT_SAVESTATE_AUTO_LOAD false
14031403

1404+
/* Take screenshots for save states */
1405+
#if defined(__x86_64__)
1406+
#define DEFAULT_SAVESTATE_THUMBNAIL_ENABLE true
1407+
#else
14041408
#define DEFAULT_SAVESTATE_THUMBNAIL_ENABLE false
1409+
#endif
14051410

14061411
/* When creating save (srm) files, compress
14071412
* written data */

menu/menu_setting.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11345,7 +11345,7 @@ static bool setting_append_list(
1134511345
bool_entries[listing].target = &settings->bools.savestate_thumbnail_enable;
1134611346
bool_entries[listing].name_enum_idx = MENU_ENUM_LABEL_SAVESTATE_THUMBNAIL_ENABLE;
1134711347
bool_entries[listing].SHORT_enum_idx = MENU_ENUM_LABEL_VALUE_SAVESTATE_THUMBNAIL_ENABLE;
11348-
bool_entries[listing].flags = SD_FLAG_ADVANCED;
11348+
bool_entries[listing].flags = SD_FLAG_NONE;
1134911349
if (DEFAULT_SAVESTATE_THUMBNAIL_ENABLE)
1135011350
bool_entries[listing].flags |= SD_FLAG_DEFAULT_VALUE;
1135111351
listing++;

0 commit comments

Comments
 (0)