mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-04-24 21:57:44 +02:00
Log ims in switch ctor instead of apphost so all initializers get the same behavior
This commit is contained in:
parent
b49722fcd6
commit
177aaf09de
2 changed files with 6 additions and 5 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Add table
Reference in a new issue