mirror of
https://github.com/PabloMK7/citra.git
synced 2024-11-20 14:34:17 +00:00
ldr_ro: change std::tie to structured binding
This commit is contained in:
parent
1444d60109
commit
0f4a6e39c9
1 changed files with 1 additions and 3 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
VAddr exe_begin;
|
||||
u32 exe_size;
|
||||
std::tie(exe_begin, exe_size) = cro.GetExecutablePages();
|
||||
auto [exe_begin, exe_size] = cro.GetExecutablePages();
|
||||
if (exe_begin) {
|
||||
result = process->vm_manager.ReprotectRange(exe_begin, exe_size,
|
||||
Kernel::VMAPermission::ReadExecute);
|
||||
|
|
Loading…
Reference in a new issue