mirror of
https://github.com/Thealexbarney/LibHac.git
synced 2025-02-09 13:14:46 +01:00
Add the option to initialize Horizon with a FileSystemServer
This commit is contained in:
parent
e80be498e5
commit
be29ad714f
@ -20,6 +20,13 @@ namespace LibHac
|
||||
ServiceManager = new ServiceManager(this);
|
||||
}
|
||||
|
||||
public Horizon(ITimeSpanGenerator timer, FileSystemServer fsServer)
|
||||
{
|
||||
Time = timer ?? new StopWatchTimeSpanGenerator();
|
||||
FileSystemServer = fsServer;
|
||||
ServiceManager = new ServiceManager(this);
|
||||
}
|
||||
|
||||
private Result OpenFileSystemClient(out FileSystemClient client)
|
||||
{
|
||||
if (FileSystemServer is null)
|
||||
|
Loading…
x
Reference in New Issue
Block a user