mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-31 23:08:22 -04:00
loader: add SetExternalContentSource extension
This commit is contained in:
parent
18f51e9b2e
commit
5c147e5188
9 changed files with 132 additions and 4 deletions
|
@ -18,6 +18,8 @@
|
|||
#include <switch.h>
|
||||
#include <cstdio>
|
||||
|
||||
#include "ldr_content_management.hpp" /* for ExternalContentSource */
|
||||
|
||||
#define MAGIC_NSO0 0x304F534E
|
||||
#define NSO_NUM_MAX 13
|
||||
|
||||
|
@ -96,7 +98,8 @@ class NsoUtils {
|
|||
return "?";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
static FILE *OpenNsoFromECS(unsigned int index, ContentManagement::ExternalContentSource *ecs);
|
||||
static FILE *OpenNsoFromHBL(unsigned int index);
|
||||
static FILE *OpenNsoFromExeFS(unsigned int index);
|
||||
static FILE *OpenNsoFromSdCard(unsigned int index, u64 title_id);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue