mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-08-09 17:48:48 +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
|
@ -120,11 +120,11 @@ namespace haze {
|
||||||
|
|
||||||
/* Determine units to use for printing to the console. */
|
/* Determine units to use for printing to the console. */
|
||||||
const char *used_unit = "B";
|
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 = "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";
|
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"; }
|
if (heap_total >= (1_MB / 1_KB)) { heap_total >>= 10; total_unit = "MiB"; }
|
||||||
|
|
||||||
/* Draw the console UI. */
|
/* Draw the console UI. */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue