mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-24 07:40:26 +01:00
bootconfig/configitem: Fix includes and identifiers (#49)
This commit is contained in:
parent
f6008d947d
commit
a081c93094
@ -1,6 +1,7 @@
|
||||
#ifndef EXOSPHERE_BOOTCONFIG_H
|
||||
#define EXOSPHERE_BOOTCONFIG_H
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
|
||||
/* This provides management for Switch BootConfig. */
|
||||
|
@ -1,9 +1,11 @@
|
||||
#include <stdint.h>
|
||||
|
||||
#include "utils.h"
|
||||
#include "bootconfig.h"
|
||||
#include "se.h"
|
||||
#include "configitem.h"
|
||||
#include "interrupt.h"
|
||||
#include "package2.h"
|
||||
#include "se.h"
|
||||
#include "utils.h"
|
||||
|
||||
int g_battery_profile = 0;
|
||||
|
||||
@ -37,7 +39,7 @@ uint32_t configitem_get(enum ConfigItem item, uint64_t *p_outvalue) {
|
||||
/* SE is interrupt #0x2C. */
|
||||
*p_outvalue = INTERRUPT_ID_USER_SECURITY_ENGINE;
|
||||
break;
|
||||
case CONFIGITEM_UNK04:
|
||||
case CONFIGITEM_VERSION:
|
||||
/* Always returns maxver - 1 on hardware. */
|
||||
*p_outvalue = PACKAGE2_MAXVER_400_CURRENT - 1;
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user