STFS loading... xex's load, but files seem broken. Ugh.
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
|
||||
#include <xenia/kernel/fs/devices/disc_image_device.h>
|
||||
#include <xenia/kernel/fs/devices/host_path_device.h>
|
||||
#include <xenia/kernel/fs/devices/stfs_container_device.h>
|
||||
|
||||
|
||||
using namespace xe;
|
||||
@@ -52,6 +53,15 @@ int FileSystem::RegisterDiscImageDevice(
|
||||
return RegisterDevice(path, device);
|
||||
}
|
||||
|
||||
int FileSystem::RegisterSTFSContainerDevice(
|
||||
const char* path, const xechar_t* local_path) {
|
||||
STFSContainerDevice* device = new STFSContainerDevice(path, local_path);
|
||||
if (device->Init()) {
|
||||
return 1;
|
||||
}
|
||||
return RegisterDevice(path, device);
|
||||
}
|
||||
|
||||
int FileSystem::CreateSymbolicLink(const char* path, const char* target) {
|
||||
symlinks_.insert(std::pair<const char*, const char*>(
|
||||
xestrdupa(path),
|
||||
|
||||
Reference in New Issue
Block a user