mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-11-09 22:38:33 +00:00
14 lines
274 B
C#
14 lines
274 B
C#
|
using System;
|
|||
|
using System.Runtime.InteropServices;
|
|||
|
|
|||
|
namespace SoundIOSharp
|
|||
|
{
|
|||
|
public class SoundIOException : Exception
|
|||
|
{
|
|||
|
internal SoundIOException (SoundIoError errorCode)
|
|||
|
: base (Marshal.PtrToStringAnsi (Natives.soundio_strerror ((int) errorCode)))
|
|||
|
{
|
|||
|
}
|
|||
|
}
|
|||
|
}
|