mirror of
https://github.com/Thealexbarney/LibHac.git
synced 2024-11-14 10:49:41 +01:00
Add the option to initialize Horizon with a FileSystemServer
This commit is contained in:
parent
e80be498e5
commit
be29ad714f
1 changed files with 7 additions and 0 deletions
|
@ -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…
Reference in a new issue