mirror of
https://github.com/Atmosphere-NX/Atmosphere
synced 2024-11-09 22:56:35 +00:00
bootconfig/configitem: Fix includes and identifiers (#49)
This commit is contained in:
parent
f6008d947d
commit
a081c93094
2 changed files with 6 additions and 3 deletions
|
@ -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 a new issue