From 550747eac6c0f6da14070c8b6d208bde6f1d1eb9 Mon Sep 17 00:00:00 2001 From: Ac_K Date: Sun, 8 Jan 2023 13:13:39 +0100 Subject: Horizon: Impl Prepo, Fixes bugs, Clean things (#4220) * Horizon: Impl Prepo, Fixes bugs, Clean things * remove ToArray() * resultCode > status * Remove old services * Addresses gdkchan's comments and more cleanup * Addresses Gdkchan's feedback 2 * Reorganize services, make sure service are loaded before guest Co-Authored-By: gdkchan <5624669+gdkchan@users.noreply.github.com> * Create interfaces for lm and sm Co-authored-by: gdkchan <5624669+gdkchan@users.noreply.github.com> --- Ryujinx.HLE/HOS/ProgramLoader.cs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Ryujinx.HLE/HOS/ProgramLoader.cs') diff --git a/Ryujinx.HLE/HOS/ProgramLoader.cs b/Ryujinx.HLE/HOS/ProgramLoader.cs index 09e1ac31..b6a39a20 100644 --- a/Ryujinx.HLE/HOS/ProgramLoader.cs +++ b/Ryujinx.HLE/HOS/ProgramLoader.cs @@ -182,6 +182,8 @@ namespace Ryujinx.HLE.HOS byte[] arguments = null, params IExecutable[] executables) { + context.Device.System.ServiceTable.WaitServicesReady(); + LibHac.Result rc = metaData.GetNpdm(out var npdm); if (rc.IsFailure()) -- cgit v1.2.3