mirror of
https://github.com/yuzu-mirror/yuzu.git
synced 2024-11-19 15:50:18 +00:00
loader: fix gcc compile
This commit is contained in:
parent
6432508740
commit
7482e03c77
1 changed files with 1 additions and 1 deletions
|
@ -165,7 +165,7 @@ std::optional<VAddr> AppLoader_NSO::LoadModule(Kernel::KProcess& process, Core::
|
||||||
patch->PatchText(program_image, code);
|
patch->PatchText(program_image, code);
|
||||||
|
|
||||||
// Add patch section size to the module size.
|
// Add patch section size to the module size.
|
||||||
image_size += patch->GetSectionSize();
|
image_size += static_cast<u32>(patch->GetSectionSize());
|
||||||
} else if (patch) {
|
} else if (patch) {
|
||||||
// Relocate code patch and copy to the program_image.
|
// Relocate code patch and copy to the program_image.
|
||||||
patch->RelocateAndCopy(load_base, code, program_image, &process.GetPostHandlers());
|
patch->RelocateAndCopy(load_base, code, program_image, &process.GetPostHandlers());
|
||||||
|
|
Loading…
Reference in a new issue