mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-08-09 09:38:52 +00:00
haze: fix copy paste error
This commit is contained in:
parent
3630e10874
commit
48a05273be
1 changed files with 3 additions and 3 deletions
|
@ -121,10 +121,10 @@ namespace haze {
|
|||
/* Determine units to use for printing to the console. */
|
||||
const char *used_unit = "B";
|
||||
if (heap_used >= 1_KB) { heap_used >>= 10; used_unit = "KiB"; }
|
||||
if (heap_used >= 1_KB) { heap_used >>= 10; used_unit = "MiB"; }
|
||||
if (heap_used >= (1_MB / 1_KB)) { heap_used >>= 10; used_unit = "MiB"; }
|
||||
|
||||
const char *total_unit = "B";
|
||||
if (heap_total >= (1_MB / 1_KB)) { heap_total >>= 10; total_unit = "KiB"; }
|
||||
if (heap_total >= 1_KB) { heap_total >>= 10; total_unit = "KiB"; }
|
||||
if (heap_total >= (1_MB / 1_KB)) { heap_total >>= 10; total_unit = "MiB"; }
|
||||
|
||||
/* Draw the console UI. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue