Fix XamContent return (!) and vfs use.

Progress on #305.
This commit is contained in:
Ben Vanik
2015-06-28 17:33:06 -07:00
parent 1106029afc
commit b663b615bf
6 changed files with 19 additions and 20 deletions

View File

@@ -33,6 +33,7 @@ ContentPackage::ContentPackage(KernelState* kernel_state, std::string root_name,
auto fs = kernel_state_->file_system();
auto device =
std::make_unique<vfs::HostPathDevice>(device_path_, package_path, false);
device->Initialize();
fs->RegisterDevice(std::move(device));
fs->RegisterSymbolicLink(root_name_ + ":", device_path_);
}