diff options
Diffstat (limited to 'Ryujinx.Graphics.Nvdec.Vp9/InternalErrorInfo.cs')
| -rw-r--r-- | Ryujinx.Graphics.Nvdec.Vp9/InternalErrorInfo.cs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Ryujinx.Graphics.Nvdec.Vp9/InternalErrorInfo.cs b/Ryujinx.Graphics.Nvdec.Vp9/InternalErrorInfo.cs new file mode 100644 index 00000000..68e9cb4b --- /dev/null +++ b/Ryujinx.Graphics.Nvdec.Vp9/InternalErrorInfo.cs @@ -0,0 +1,14 @@ +namespace Ryujinx.Graphics.Nvdec.Vp9 +{ + internal struct InternalErrorInfo + { + public CodecErr ErrorCode; + + public void InternalError(CodecErr error, string message) + { + ErrorCode = error; + + throw new InternalErrorException(message); + } + } +} |
