loader: completely rewrite.

This commit is contained in:
Michael Scire committed 2019-06-26 15:46:19 -07:00
1 parent 9217e4c5f9
commit 61fcf5e0f4
49 files changed
+2523 -5817

No files matched your search

+6 -6
View File
@@ -16,11 +16,11 @@
#pragma once
#include <switch.h>
#include <cstdio>
#include <stratosphere/ldr.hpp>
#include "ldr_nso.hpp"
namespace sts::ldr {
class PatchUtils {
public:
static void ApplyPatches(const NsoUtils::NsoHeader *header, u8 *mapped_nso, size_t size);
};
/* Apply IPS patches. */
void LocateAndApplyIpsPatchesToModule(const u8 *build_id, uintptr_t mapped_nso, size_t mapped_size);
}