mirror of
https://github.com/momo5502/emulator.git
synced 2026-01-19 19:53:56 +00:00
Handle api-ms DLLs
This commit is contained in:
@@ -202,8 +202,13 @@ namespace
|
||||
}
|
||||
}
|
||||
|
||||
mapped_binary map_file(x64_emulator& emu, const std::filesystem::path& file)
|
||||
std::optional<mapped_binary> map_file(x64_emulator& emu, const std::filesystem::path& file)
|
||||
{
|
||||
const auto data = load_file(file);
|
||||
if (data.empty())
|
||||
{
|
||||
return {};
|
||||
}
|
||||
|
||||
return map_module(emu, data, file.generic_string());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user