diff --git a/MonoGame.Framework/Platform/Audio/OpenAL.cs b/MonoGame.Framework/Platform/Audio/OpenAL.cs index b4f43c8fcf0..87169b774b9 100644 --- a/MonoGame.Framework/Platform/Audio/OpenAL.cs +++ b/MonoGame.Framework/Platform/Audio/OpenAL.cs @@ -221,7 +221,7 @@ private static IntPtr GetNativeLibrary() #else var ret = FuncLoader.LoadLibrary("libopenal.dylib"); if (ret ==IntPtr.Zero) - ret = FuncLoader.LoadLibrary(Path.Combine (Path.GetDirectoryName (typeof (AL).Assembly.Location)!, "libopenal.dylib")); + ret = FuncLoader.LoadLibrary(Path.Combine (Path.GetDirectoryName (typeof (AL).Assembly.Location), "libopenal.dylib")); return ret; #endif }