mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-12-03 19:57:28 +01:00
e05f199394
Loader now works when booted as a KIP1. NOTE: ldr:ro still needs debugging.
21 lines
769 B
C++
21 lines
769 B
C++
#pragma once
|
|
#include <switch.h>
|
|
|
|
#include "ldr_registration.hpp"
|
|
|
|
class ContentManagement {
|
|
public:
|
|
static Result MountCode(u64 tid, FsStorageId sid);
|
|
static Result UnmountCode();
|
|
static Result MountCodeForTidSid(Registration::TidSid *tid_sid);
|
|
|
|
static Result GetContentPath(char *out_path, u64 tid, FsStorageId sid);
|
|
static Result SetContentPath(const char *path, u64 tid, FsStorageId sid);
|
|
static Result GetContentPathForTidSid(char *out_path, Registration::TidSid *tid_sid);
|
|
static Result SetContentPathForTidSid(const char *path, Registration::TidSid *tid_sid);
|
|
|
|
static bool HasCreatedTitle(u64 tid);
|
|
static void SetCreatedTitle(u64 tid);
|
|
static void TryMountSdCard();
|
|
};
|