Fix cached list giving nutexb crashes

This commit is contained in:
KillzXGaming 2019-07-21 09:53:04 -04:00
parent 5b1ba08874
commit 6e4e50fb30
2 changed files with 3 additions and 1 deletions

Binary file not shown.

View file

@ -1363,7 +1363,9 @@ namespace FirstPlugin
setting.SurfaceDim = surfaceDim; setting.SurfaceDim = surfaceDim;
var ImageDataCached = Texture.TextureData; var ImageDataCached = new List<List<byte[]>>();
if (Texture.TextureData != null)
ImageDataCached = Texture.TextureData;
switch (ext) switch (ext)
{ {