aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.Graphics.Nvdec.Vp9/InternalErrorInfo.cs
blob: 68e9cb4bb8b27f59219eaff3ecceaa8d2ba459d7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
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);
        }
    }
}