Fix exception throw message for unimpl texture formats (#398)

This commit is contained in:
gdkchan 2018-09-01 18:51:51 -03:00 committed by GitHub
parent 78575c1cea
commit c7cd70c010
3 changed files with 3 additions and 3 deletions

View file

@ -125,7 +125,7 @@ namespace Ryujinx.Graphics.Gal
break;
}
throw new NotImplementedException("0x" + Format.ToString("x2") + " " + Type.ToString());
throw new NotImplementedException("0x" + ((int)Format).ToString("x2") + " " + Type.ToString());
}
public static GalImageFormat ConvertFrameBuffer(GalFrameBufferFormat Format)