mirror of
https://github.com/KillzXGaming/Switch-Toolbox
synced 2024-11-26 14:30:26 +00:00
Fix nutexb padding for smaller images
This commit is contained in:
parent
5c68d2d14a
commit
c035b7e9c2
1 changed files with 1 additions and 1 deletions
|
@ -277,7 +277,7 @@ namespace FirstPlugin
|
||||||
|
|
||||||
if (LimitFileSize)
|
if (LimitFileSize)
|
||||||
{
|
{
|
||||||
if (surfaces[0].mipmaps[0].Length > surfacesNew[0].mipmaps[0].Length)
|
if (surfaces[0].mipmaps[0].Length < surfacesNew[0].mipmaps[0].Length)
|
||||||
{
|
{
|
||||||
if (surfaces[0].mipmaps[0].Length != surfacesNew[0].mipmaps[0].Length)
|
if (surfaces[0].mipmaps[0].Length != surfacesNew[0].mipmaps[0].Length)
|
||||||
throw new Exception($"Image must be the same size! {surfaces[0].mipmaps[0].Length}");
|
throw new Exception($"Image must be the same size! {surfaces[0].mipmaps[0].Length}");
|
||||||
|
|
Loading…
Reference in a new issue