mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-08-17 14:18:44 +02:00
Fix the headless build since previous commit
This commit is contained in:
parent
19afb3209c
commit
997380d48c
1 changed files with 10 additions and 1 deletions
|
@ -43,6 +43,7 @@ namespace Ryujinx.Headless.SDL2
|
||||||
private static VirtualFileSystem _virtualFileSystem;
|
private static VirtualFileSystem _virtualFileSystem;
|
||||||
private static ContentManager _contentManager;
|
private static ContentManager _contentManager;
|
||||||
private static AccountManager _accountManager;
|
private static AccountManager _accountManager;
|
||||||
|
private static LibHacHorizonManager _libHacHorizonManager;
|
||||||
private static UserChannelPersistence _userChannelPersistence;
|
private static UserChannelPersistence _userChannelPersistence;
|
||||||
private static InputManager _inputManager;
|
private static InputManager _inputManager;
|
||||||
private static Switch _emulationContext;
|
private static Switch _emulationContext;
|
||||||
|
@ -61,8 +62,15 @@ namespace Ryujinx.Headless.SDL2
|
||||||
AppDataManager.Initialize(null);
|
AppDataManager.Initialize(null);
|
||||||
|
|
||||||
_virtualFileSystem = VirtualFileSystem.CreateInstance();
|
_virtualFileSystem = VirtualFileSystem.CreateInstance();
|
||||||
|
_libHacHorizonManager = new LibHacHorizonManager();
|
||||||
|
|
||||||
|
_libHacHorizonManager.InitializeFsServer(_virtualFileSystem);
|
||||||
|
_libHacHorizonManager.InitializeArpServer();
|
||||||
|
_libHacHorizonManager.InitializeBcatServer();
|
||||||
|
_libHacHorizonManager.InitializeSystemClients();
|
||||||
|
|
||||||
_contentManager = new ContentManager(_virtualFileSystem);
|
_contentManager = new ContentManager(_virtualFileSystem);
|
||||||
_accountManager = new AccountManager(_virtualFileSystem);
|
_accountManager = new AccountManager(_libHacHorizonManager.RyujinxClient);
|
||||||
_userChannelPersistence = new UserChannelPersistence();
|
_userChannelPersistence = new UserChannelPersistence();
|
||||||
|
|
||||||
_inputManager = new InputManager(new SDL2KeyboardDriver(), new SDL2GamepadDriver());
|
_inputManager = new InputManager(new SDL2KeyboardDriver(), new SDL2GamepadDriver());
|
||||||
|
@ -420,6 +428,7 @@ namespace Ryujinx.Headless.SDL2
|
||||||
private static Switch InitializeEmulationContext(WindowBase window, Options options)
|
private static Switch InitializeEmulationContext(WindowBase window, Options options)
|
||||||
{
|
{
|
||||||
HLEConfiguration configuration = new HLEConfiguration(_virtualFileSystem,
|
HLEConfiguration configuration = new HLEConfiguration(_virtualFileSystem,
|
||||||
|
_libHacHorizonManager,
|
||||||
_contentManager,
|
_contentManager,
|
||||||
_accountManager,
|
_accountManager,
|
||||||
_userChannelPersistence,
|
_userChannelPersistence,
|
||||||
|
|
Loading…
Reference in a new issue