mirror of
https://github.com/momo5502/emulator.git
synced 2026-01-20 20:23:57 +00:00
Fix path syscalls
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
#include "io_device.hpp"
|
||||
#include "devices/afd_endpoint.hpp"
|
||||
#include "devices/mount_point_manager.hpp"
|
||||
|
||||
namespace
|
||||
{
|
||||
@@ -28,5 +29,10 @@ std::unique_ptr<io_device> create_device(const std::u16string_view device)
|
||||
return create_afd_endpoint();
|
||||
}
|
||||
|
||||
if (device == u"MountPointManager")
|
||||
{
|
||||
return create_mount_point_manager();
|
||||
}
|
||||
|
||||
throw std::runtime_error("Unsupported device: " + u16_to_u8(device));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user