mirror of
https://github.com/momo5502/emulator.git
synced 2026-01-28 23:41:03 +00:00
Prevent unmapping core modules
This commit is contained in:
@@ -32,6 +32,8 @@ struct mapped_module
|
||||
|
||||
std::vector<mapped_section> sections{};
|
||||
|
||||
bool is_static{false};
|
||||
|
||||
bool is_within(const uint64_t address) const
|
||||
{
|
||||
return address >= this->image_base && address < (this->image_base + this->size_of_image);
|
||||
|
||||
Reference in New Issue
Block a user