1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-12-23 02:42:09 +00:00

exosphere: ConfigItem_IsQuestUnit was added in 3.0, not 4.0

This commit is contained in:
Michael Scire 2018-09-20 13:47:20 -07:00
parent f622eac36e
commit a2b4d9168d
2 changed files with 4 additions and 4 deletions

View file

@ -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;

View file

@ -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,