mirror of
https://github.com/momo5502/emulator.git
synced 2026-01-21 12:43:57 +00:00
Fix module lookup
This commit is contained in:
@@ -83,6 +83,12 @@ class module_manager
|
||||
}
|
||||
|
||||
std::advance(upper_bound, -1);
|
||||
return upper_bound;
|
||||
|
||||
if (upper_bound->second.is_within(address))
|
||||
{
|
||||
return upper_bound;
|
||||
}
|
||||
|
||||
return this->modules_.end();
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user