ryujinx/src/Ryujinx.Graphics.Nvdec.Vp9/InternalErrorInfo.cs

15 lines
300 B
C#
Raw Normal View History

namespace Ryujinx.Graphics.Nvdec.Vp9
{
internal struct InternalErrorInfo
{
public CodecErr ErrorCode;
public void InternalError(CodecErr error, string message)
{
ErrorCode = error;
throw new InternalErrorException(message);
}
}
}