mirror of
https://github.com/KillzXGaming/Switch-Toolbox
synced 2024-11-10 15:14:55 +00:00
NUTEXB : Fix different non swizzled surface levels
This commit is contained in:
parent
2fd88ce7eb
commit
df281e645f
1 changed files with 1 additions and 1 deletions
|
@ -563,7 +563,7 @@ namespace FirstPlugin
|
|||
public override byte[] GetImageData(int ArrayLevel = 0, int MipLevel = 0, int DepthLevel = 0)
|
||||
{
|
||||
if (!Runtime.NUTEXBSettings.IsSwizzled)
|
||||
return DDS.GetArrayFaces(this, ImageData, 1)[ArrayLevel].mipmaps[0];
|
||||
return DDS.GetArrayFaces(this, ImageData, ArrayCount)[ArrayLevel].mipmaps[MipLevel];
|
||||
|
||||
return TegraX1Swizzle.GetImageData(this, ImageData, ArrayLevel, MipLevel, DepthLevel, 1);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue