Load the x64 folder for direct x tex by default as it causes issues without.
This commit is contained in:
parent
da15dc55fc
commit
a3a6f9b98e
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -2,7 +2,7 @@ using System;
|
||||
using System.Linq;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Switch_Toolbox.Library
|
||||
namespace Switch_Toolbox.Library.OLD
|
||||
{
|
||||
public class GX2
|
||||
{
|
||||
@ -748,6 +748,8 @@ namespace Switch_Toolbox.Library
|
||||
surfInfo = getSurfaceInfo((GX2SurfaceFormat)tex.format, tex.width, tex.height, tex.depth, (uint)tex.dim, (uint)tex.tileMode, (uint)tex.aa, mipLevel);
|
||||
data = new byte[surfInfo.surfSize];
|
||||
|
||||
//In the case of PTCL
|
||||
//Does not work atm so same parameters currently
|
||||
if (tex.data == tex.mipData)
|
||||
Array.Copy(tex.mipData, (uint)mipOffset, data, 0, surfInfo.surfSize);
|
||||
else
|
||||
|
@ -2,7 +2,7 @@
|
||||
using System.Linq;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Switch_Toolbox.Library.NEW
|
||||
namespace Switch_Toolbox.Library
|
||||
{
|
||||
//Todo fix swizzle issues with this one
|
||||
public class GX2
|
||||
@ -705,8 +705,8 @@ namespace Switch_Toolbox.Library.NEW
|
||||
|
||||
result.Add(mips);
|
||||
|
||||
dataOffset += ArrayImageize;
|
||||
mipDataOffset += ArrayMipImageize;
|
||||
// dataOffset += ArrayImageize;
|
||||
// mipDataOffset += ArrayMipImageize;
|
||||
}
|
||||
|
||||
return result;
|
||||
|
BIN
Toolbox/Lib/x64/DirectXTexNetImpl.dll
Normal file
BIN
Toolbox/Lib/x64/DirectXTexNetImpl.dll
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user