mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 21:32:45 +00:00
This commit is contained in:
parent
6eaa65ebc0
commit
c1f81616b2
@ -834,21 +834,21 @@ static int menu_displaylist_parse_system_info(menu_displaylist_info_t *info)
|
||||
if (memory_used != 0 && memory_total != 0)
|
||||
{
|
||||
snprintf(tmp, sizeof(tmp),
|
||||
"%s %s: " STRING_REP_UINT64 "/" STRING_REP_UINT64 " B",
|
||||
"%s %s: " PRIu64 "/" PRIu64 " B",
|
||||
msg_hash_to_str(MSG_MEMORY),
|
||||
msg_hash_to_str(MSG_IN_BYTES),
|
||||
memory_used,
|
||||
memory_total
|
||||
);
|
||||
snprintf(tmp2, sizeof(tmp2),
|
||||
"%s %s: " STRING_REP_UINT64 "/" STRING_REP_UINT64 " MB",
|
||||
"%s %s: " PRIu64 "/" PRIu64 " MB",
|
||||
msg_hash_to_str(MSG_MEMORY),
|
||||
msg_hash_to_str(MSG_IN_MEGABYTES),
|
||||
bytes_to_mb(memory_used),
|
||||
bytes_to_mb(memory_total)
|
||||
);
|
||||
snprintf(tmp3, sizeof(tmp3),
|
||||
"%s %s: " STRING_REP_UINT64 "/" STRING_REP_UINT64 " GB",
|
||||
"%s %s: " PRIu64 "/" PRIu64 " GB",
|
||||
msg_hash_to_str(MSG_MEMORY),
|
||||
msg_hash_to_str(MSG_IN_GIGABYTES),
|
||||
bytes_to_gb(memory_used),
|
||||
|
Loading…
x
Reference in New Issue
Block a user