mirror of
https://github.com/momo5502/emulator.git
synced 2026-01-20 04:03:57 +00:00
Remove redundant code
This commit is contained in:
@@ -806,9 +806,9 @@ void process_context::build_knowndlls_section_table(registry_manager& registry,
|
||||
}
|
||||
|
||||
auto known_dll_name = known_dll_name_opt.value();
|
||||
q.push(known_dll_name);
|
||||
utils::string::to_lower_inplace(known_dll_name);
|
||||
|
||||
utils::string::to_lower_inplace(known_dll_name);
|
||||
q.push(known_dll_name);
|
||||
visisted.insert(known_dll_name);
|
||||
}
|
||||
|
||||
@@ -817,8 +817,6 @@ void process_context::build_knowndlls_section_table(registry_manager& registry,
|
||||
auto knowndll_filename = q.front();
|
||||
q.pop();
|
||||
|
||||
utils::string::to_lower_inplace(knowndll_filename);
|
||||
|
||||
std::vector<std::byte> file;
|
||||
if (!utils::io::read_file(file_system.translate(system_root_path / knowndll_filename), &file))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user