mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-12-27 14:10:06 +00:00
hid: remove workaround for main applet
This commit is contained in:
parent
3ac9520f83
commit
03c21e57da
@ -23,11 +23,7 @@ void LoopProcess(Core::System& system) {
|
|||||||
std::shared_ptr<ResourceManager> resource_manager =
|
std::shared_ptr<ResourceManager> resource_manager =
|
||||||
std::make_shared<ResourceManager>(system, firmware_settings);
|
std::make_shared<ResourceManager>(system, firmware_settings);
|
||||||
|
|
||||||
// TODO: Remove this hack when am is emulated properly.
|
|
||||||
resource_manager->Initialize();
|
resource_manager->Initialize();
|
||||||
resource_manager->RegisterAppletResourceUserId(system.ApplicationProcess()->GetProcessId(),
|
|
||||||
true);
|
|
||||||
resource_manager->SetAruidValidForVibration(system.ApplicationProcess()->GetProcessId(), true);
|
|
||||||
|
|
||||||
server_manager->RegisterNamedService(
|
server_manager->RegisterNamedService(
|
||||||
"hid", std::make_shared<IHidServer>(system, resource_manager, firmware_settings));
|
"hid", std::make_shared<IHidServer>(system, resource_manager, firmware_settings));
|
||||||
|
Loading…
Reference in New Issue
Block a user