Swap main device to harddisk0
This commit is contained in:
parent
9c58426231
commit
bc0fb19005
|
@ -76,15 +76,15 @@ int FileSystem::InitializeFromPath(fs::FileSystemType type,
|
||||||
|
|
||||||
// Register the local directory in the virtual filesystem.
|
// Register the local directory in the virtual filesystem.
|
||||||
int result_code = RegisterHostPathDevice(
|
int result_code = RegisterHostPathDevice(
|
||||||
"\\Device\\Harddisk1\\Partition0", parent_path, true);
|
"\\Device\\Harddisk0\\Partition0", parent_path, true);
|
||||||
if (result_code) {
|
if (result_code) {
|
||||||
XELOGE("Unable to mount local directory");
|
XELOGE("Unable to mount local directory");
|
||||||
return result_code;
|
return result_code;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Create symlinks to the device.
|
// Create symlinks to the device.
|
||||||
CreateSymbolicLink("game:", "\\Device\\Harddisk1\\Partition0");
|
CreateSymbolicLink("game:", "\\Device\\Harddisk0\\Partition0");
|
||||||
CreateSymbolicLink("d:", "\\Device\\Harddisk1\\Partition0");
|
CreateSymbolicLink("d:", "\\Device\\Harddisk0\\Partition0");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case FileSystemType::DISC_IMAGE: {
|
case FileSystemType::DISC_IMAGE: {
|
||||||
|
|
Loading…
Reference in New Issue