mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2026-08-29 18:08:08 +00:00
[vk, qcom] UWU
This commit is contained in:
@@ -332,7 +332,7 @@ bool Patcher::RelocateAndCopy(Common::ProcessAddress load_base, const Kernel::Co
|
|||||||
// Only copy to the program image of the last module
|
// Only copy to the program image of the last module
|
||||||
if (m_relocate_module_index == modules.size()) {
|
if (m_relocate_module_index == modules.size()) {
|
||||||
if (this->mode == PatchMode::PreText) {
|
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(),
|
std::memcpy(program_image.data(), m_patch_instructions.data(),
|
||||||
m_patch_instructions.size() * sizeof(u32));
|
m_patch_instructions.size() * sizeof(u32));
|
||||||
} else if (this->mode == PatchMode::Split) {
|
} else if (this->mode == PatchMode::Split) {
|
||||||
|
|||||||
Reference in New Issue
Block a user