Merge pull request #4409 from valentinvanelslande/cro
ldr_ro: change std::tie to structured binding
This commit is contained in:
commit
39cbd4166c
|
@ -353,9 +353,7 @@ void RO::LoadCRO(Kernel::HLERequestContext& ctx, bool link_on_load_bug_fix) {
|
||||||
slot->memory_synchronizer.ResizeMemoryBlock(cro_address, cro_buffer_ptr, fix_size);
|
slot->memory_synchronizer.ResizeMemoryBlock(cro_address, cro_buffer_ptr, fix_size);
|
||||||
}
|
}
|
||||||
|
|
||||||
VAddr exe_begin;
|
auto [exe_begin, exe_size] = cro.GetExecutablePages();
|
||||||
u32 exe_size;
|
|
||||||
std::tie(exe_begin, exe_size) = cro.GetExecutablePages();
|
|
||||||
if (exe_begin) {
|
if (exe_begin) {
|
||||||
result = process->vm_manager.ReprotectRange(exe_begin, exe_size,
|
result = process->vm_manager.ReprotectRange(exe_begin, exe_size,
|
||||||
Kernel::VMAPermission::ReadExecute);
|
Kernel::VMAPermission::ReadExecute);
|
||||||
|
|
Loading…
Reference in New Issue