fusee: Greatly simplify and improve KIP loading

This commit is contained in:
Michael Scire
2018-10-16 15:08:06 -07:00
parent 49f627bb28
commit bfa5847e48
3 changed files with 116 additions and 34 deletions

View File

@@ -20,11 +20,13 @@
#include "utils.h"
#include "kip.h"
#define STRATOSPHERE_INI1_EMBEDDED 0x0
#define STRATOSPHERE_INI1_PACKAGE2 0x1
#define STRATOSPHERE_INI1_MAX 0x2
#define STRATOSPHERE_INI1_SDFILES 0x0
#define STRATOSPHERE_INI1_EMBEDDED 0x1
#define STRATOSPHERE_INI1_PACKAGE2 0x2
#define STRATOSPHERE_INI1_MAX 0x3
ini1_header_t *stratosphere_get_ini1(uint32_t target_firmware);
ini1_header_t *stratosphere_get_sd_files_ini1(void);
void stratosphere_free_ini1(void);
ini1_header_t *stratosphere_merge_inis(ini1_header_t **inis, unsigned int num_inis);