loader: completely rewrite.
This commit is contained in:
@@ -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