mirror of
https://github.com/momo5502/emulator.git
synced 2026-01-29 15:51:02 +00:00
Support for KnownDLLs and Some Refactoring
This commit is contained in:
@@ -52,3 +52,8 @@ constexpr uint64_t page_align_up(const uint64_t value, const uint64_t page_size
|
||||
{
|
||||
return align_up(value, page_size);
|
||||
}
|
||||
|
||||
constexpr uint64_t rva_to_raw(uint64_t va_base, uint64_t raw_base, uint64_t rva)
|
||||
{
|
||||
return rva - (va_base - raw_base);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user