Skip to content

Commit fec832a

Browse files
Merge pull request #17998 from libretro/warmenhoven/pr/info-debug
2 parents 0c279b9 + 4e4855b commit fec832a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

menu/menu_displaylist.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1827,7 +1827,10 @@ static unsigned menu_displaylist_parse_system_info(file_list_t *list)
18271827
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_BUILD_DATE),
18281828
sizeof(entry));
18291829
_len += strlcpy(entry + _len, ": ", sizeof(entry) - _len);
1830-
strlcpy(entry + _len, __DATE__, sizeof(entry) - _len);
1830+
_len += strlcpy(entry + _len, __DATE__, sizeof(entry) - _len);
1831+
#ifdef DEBUG
1832+
_len += strlcpy(entry + _len, " (DEBUG)", sizeof(entry) - _len);
1833+
#endif
18311834
if (menu_entries_append(list, entry, "",
18321835
MENU_ENUM_LABEL_SYSTEM_INFO_ENTRY, MENU_SETTINGS_CORE_INFO_NONE,
18331836
0, 0, NULL))

0 commit comments

Comments
 (0)