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
parent b49722fcd6
commit 177aaf09de
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;
@ -84,6 +85,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()