From a2b4d9168d7dab91d9a5a17287bacc621f654be0 Mon Sep 17 00:00:00 2001 From: Michael Scire Date: Thu, 20 Sep 2018 13:47:20 -0700 Subject: [PATCH] exosphere: ConfigItem_IsQuestUnit was added in 3.0, not 4.0 --- exosphere/src/configitem.c | 6 +++--- exosphere/src/configitem.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/exosphere/src/configitem.c b/exosphere/src/configitem.c index 0e40c74c6..577f74502 100644 --- a/exosphere/src/configitem.c +++ b/exosphere/src/configitem.c @@ -117,9 +117,9 @@ uint32_t configitem_get(ConfigItem item, uint64_t *p_outvalue) { case CONFIGITEM_BATTERYPROFILE: *p_outvalue = (int)g_battery_profile; break; - case CONFIGITEM_ODM4BIT10_4X: - /* Added on 4.x ... where is it being used? */ - if (exosphere_get_target_firmware() >= EXOSPHERE_TARGET_FIRMWARE_400) { + case CONFIGITEM_ISQUESTUNIT: + /* Added on 3.0, used to determine whether console is a kiosk unit. */ + if (exosphere_get_target_firmware() >= EXOSPHERE_TARGET_FIRMWARE_300) { *p_outvalue = (fuse_get_reserved_odm(4) >> 10) & 1; } else { result = 2; diff --git a/exosphere/src/configitem.h b/exosphere/src/configitem.h index bce93f6ee..864d76030 100644 --- a/exosphere/src/configitem.h +++ b/exosphere/src/configitem.h @@ -34,7 +34,7 @@ typedef enum { CONFIGITEM_ISDEBUGMODE = 11, CONFIGITEM_KERNELMEMORYCONFIGURATION = 12, CONFIGITEM_BATTERYPROFILE = 13, - CONFIGITEM_ODM4BIT10_4X = 14, + CONFIGITEM_ISQUESTUNIT = 14, CONFIGITEM_NEWHARDWARETYPE_5X = 15, CONFIGITEM_NEWKEYGENERATION_5X = 16, CONFIGITEM_PACKAGE2HASH_5X = 17,