CamilleLaVey
3 weeks ago
committed by
Caio Oliveira
No known key found for this signature in database
GPG Key ID: AAAE6C7FD4186B0C
1 changed files with
1 additions and
1 deletions
-
src/core/arm/nce/patcher.cpp
|
|
|
@ -220,7 +220,7 @@ bool Patcher::RelocateAndCopy(Common::ProcessAddress load_base, |
|
|
|
// Only copy to the program image of the last module
|
|
|
|
if (m_relocate_module_index == modules.size()) { |
|
|
|
if (this->mode == PatchMode::PreText) { |
|
|
|
// ASSERT(image_size == total_program_size);
|
|
|
|
ASSERT(image_size == total_program_size); |
|
|
|
std::memcpy(program_image.data(), m_patch_instructions.data(), |
|
|
|
m_patch_instructions.size() * sizeof(u32)); |
|
|
|
} else { |
|
|
|
|