mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2025-06-19 02:38:41 -05:00
Stub OpenAudioOut and fix a issue with HID IAppletResource being created more than once
This commit is contained in:
@ -162,8 +162,13 @@ public:
|
||||
~Hid() = default;
|
||||
|
||||
private:
|
||||
Kernel::SharedPtr<Kernel::ClientPort> client_port;
|
||||
|
||||
void CreateAppletResource(Kernel::HLERequestContext& ctx) {
|
||||
auto client_port = std::make_shared<IAppletResource>()->CreatePort();
|
||||
if (client_port == nullptr) {
|
||||
client_port = std::make_shared<IAppletResource>()->CreatePort();
|
||||
}
|
||||
|
||||
auto session = client_port->Connect();
|
||||
if (session.Succeeded()) {
|
||||
LOG_DEBUG(Service, "called, initialized IAppletResource -> session=%u",
|
||||
|
Reference in New Issue
Block a user