add a stack trace for the catch branch of AppleHardwareDeviceDriver.IsSupported

This commit is contained in:
GreemDev
2026-01-27 17:52:45 -06:00
parent fef93a453a
commit 5ed94c365b
2 changed files with 2 additions and 4 deletions

View File

@@ -110,8 +110,9 @@ namespace Ryujinx.Audio.Backends.Apple
return false;
}
catch
catch (Exception e)
{
Logger.Error?.Print(LogClass.Audio, $"Failed to check if AudioToolbox is supported: {e.Message}\n{e.StackTrace}");
return false;
}
}

View File

@@ -1,15 +1,12 @@
using Ryujinx.Audio.Backends.Common;
using Ryujinx.Audio.Common;
using Ryujinx.Common.Logging;
using Ryujinx.Memory;
using System;
using System.Collections.Concurrent;
using System.Runtime.InteropServices;
using System.Threading;
using System.Runtime.Versioning;
using Ryujinx.Audio.Backends.Apple.Native;
using static Ryujinx.Audio.Backends.Apple.Native.AudioToolbox;
using static Ryujinx.Audio.Backends.Apple.AppleHardwareDeviceDriver;
namespace Ryujinx.Audio.Backends.Apple
{