aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.Graphics.Nvdec.Vp9/InternalErrorInfo.cs
blob: cfec81ed1bcd11e8c90fcb0780061657f641ab3a (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);
        }
    }
}