mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-05-19 09:54:54 +00:00
Migrate TLS patches to new patching system.
This commit is contained in:
parent
6a6d5bad42
commit
d9231b239c
7 changed files with 420 additions and 457 deletions
|
@ -7,11 +7,10 @@
|
|||
#include "common/logging/log.h"
|
||||
#include "common/string_util.h"
|
||||
#include "core/aerolib/aerolib.h"
|
||||
#include "core/instruction_emulator.h"
|
||||
#include "core/cpu_patches.h"
|
||||
#include "core/loader/dwarf.h"
|
||||
#include "core/memory.h"
|
||||
#include "core/module.h"
|
||||
#include "core/tls.h"
|
||||
|
||||
namespace Core {
|
||||
|
||||
|
@ -132,7 +131,6 @@ void Module::LoadModuleToMemory(u32& max_tls_index) {
|
|||
|
||||
add_segment(elf_pheader[i]);
|
||||
if (elf_pheader[i].p_flags & PF_EXEC) {
|
||||
PatchTLS(segment_addr, segment_file_size, c);
|
||||
PatchInstructions(segment_addr, segment_file_size, c);
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue