mirror of
https://github.com/momo5502/emulator.git
synced 2026-01-11 16:46:16 +00:00
Move module manager into windows emulator
This commit is contained in:
@@ -154,7 +154,7 @@ namespace
|
||||
|
||||
auto read_handler = [&, section, concise_logging](const uint64_t address, size_t, uint64_t) {
|
||||
const auto rip = win_emu.emu().read_instruction_pointer();
|
||||
if (win_emu.process.mod_manager.find_by_address(rip) != win_emu.process.executable)
|
||||
if (win_emu.mod_manager.find_by_address(rip) != win_emu.process.executable)
|
||||
{
|
||||
return;
|
||||
}
|
||||
@@ -174,7 +174,7 @@ namespace
|
||||
|
||||
const auto write_handler = [&, section, concise_logging](const uint64_t address, size_t, uint64_t) {
|
||||
const auto rip = win_emu.emu().read_instruction_pointer();
|
||||
if (win_emu.process.mod_manager.find_by_address(rip) != win_emu.process.executable)
|
||||
if (win_emu.mod_manager.find_by_address(rip) != win_emu.process.executable)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user