[CPU] Fix XexModule::FindSaveRest not finding functions properly

This commit is contained in:
emoose
2018-11-01 15:50:56 +00:00
parent 3b584a5f1c
commit bbb5c938ec
4 changed files with 21 additions and 18 deletions

View File

@@ -67,7 +67,7 @@ class XexModule : public xe::cpu::Module {
desc.value =
xe::byte_swap(xex_security_info()->page_descriptors[i].value);
total_size += desc.size * heap->page_size();
total_size += desc.page_count * heap->page_size();
}
return total_size;
}