Simplify code and remove uncessary comments

This commit is contained in:
ahm3dgg
2026-01-09 13:36:26 +02:00
parent 58d6a10837
commit 6cd94b7f4d

View File

@@ -469,10 +469,10 @@ mapped_module* module_manager::map_module(const windows_path& file, const logger
if (local_file.filename() == "win32u.dll")
{
return this->map_local_module(this->file_sys_->translate(file), logger, is_static, false);
return this->map_local_module(local_file, logger, is_static, false);
}
return this->map_local_module(this->file_sys_->translate(file), logger, is_static, allow_duplicate);
return this->map_local_module(local_file, logger, is_static, allow_duplicate);
}
// Refactored map_local_module using the new architecture