loader: completely rewrite.
This commit is contained in:
1 parent
9217e4c5f9
commit
61fcf5e0f4
49 files changed
+2523
-5817
No files matched your search
@@ -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);
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user