config: utilize devmode variable

This holds the NX hw state.
This commit is contained in:
CTCaer authored and NaGa committed 2026-03-27 09:42:40 +01:00
1 parent 48b2f20c88
commit 760c93e92f
7 files changed
+8 -4

No files matched your search

+2 -2
View File
@@ -38,7 +38,7 @@ void print_fuseinfo()
gfx_con_setpos(0, 0);
gfx_printf("\nSKU: %X - ", FUSE(FUSE_SKU_INFO));
switch (fuse_read_hw_state())
switch (h_cfg.devmode)
{
case FUSE_NX_HW_STATE_PROD:
gfx_printf("Retail\n");
@@ -238,7 +238,7 @@ void print_sdcard_info()
gfx_printf("%kFound %s volume:%k\n Free: %d MiB\n Cluster: %d KiB\n",
TXT_CLR_CYAN_L, sd_fs.fs_type == FS_EXFAT ? "exFAT" : "FAT32", TXT_CLR_DEFAULT,
sd_fs.free_clst * sd_fs.csize >> SECTORS_TO_MIB_COEFF, (sd_fs.csize > 1) ? (sd_fs.csize >> 1) : 512);
sd_end();
f_unmount("");
}
else
{