0
0
mirror of https://git.ryujinx.app/ryubing/ryujinx.git synced 2025-04-24 09:25:12 +00:00

Log ims in switch ctor instead of apphost so all initializers get the same behavior

This commit is contained in:
GreemDev 2025-03-20 18:13:52 -05:00 committed by GreemDev
parent 1e7e4322b4
commit 1ece186254
2 changed files with 6 additions and 5 deletions

View File

@ -4,6 +4,7 @@ using Ryujinx.Audio.Backends.CompatLayer;
using Ryujinx.Audio.Integration;
using Ryujinx.Common;
using Ryujinx.Common.Configuration;
using Ryujinx.Common.Logging;
using Ryujinx.Graphics.Gpu;
using Ryujinx.HLE.FileSystem;
using Ryujinx.HLE.HOS;
@ -83,6 +84,11 @@ namespace Ryujinx.HLE
UpdateVSyncInterval();
#pragma warning restore IDE0055
#if DEBUG
if (Configuration.IgnoreMissingServices)
Logger.Notice.Print(LogClass.Emulation, "Ignore Missing Services is enabled.", nameof(Switch));
#endif
Shared = this;
}

View File

@ -901,11 +901,6 @@ namespace Ryujinx.Ava.Systems
_viewModel.UiHandler
)
);
#if DEBUG
if (Device.Configuration.IgnoreMissingServices)
Logger.Notice.Print(LogClass.Emulation, "Ignore Missing Services is enabled.");
#endif
}
private static IHardwareDeviceDriver InitializeAudio()