ISO: pass mode to file

This commit is contained in:
Megamouse 2026-03-01 11:41:56 +01:00
parent ec00a06caf
commit f2c8b157ef

View file

@ -569,7 +569,7 @@ std::unique_ptr<fs::file_base> iso_device::open(const std::string& path, bs_t<fs
return nullptr;
}
return std::make_unique<iso_file>(fs::file(iso_path), *node);
return std::make_unique<iso_file>(fs::file(iso_path, mode), *node);
}
std::unique_ptr<fs::dir_base> iso_device::open_dir(const std::string& path)