1
0
mirror of synced 2024-11-12 02:00:50 +01:00

Fix infinite loop for 0x50 mta decomp

This commit is contained in:
KillzXGaming 2019-07-01 16:18:36 -04:00
parent 798ae1ca76
commit 78446003b7
3 changed files with 3 additions and 5 deletions

Binary file not shown.

View File

@ -166,8 +166,6 @@ namespace Switch_Toolbox.Library.IO
for (int i = 0; i < 8; i++)
*output++ = *data++;
//EndOperation
CheckFinished(data, end);
}
@ -334,9 +332,9 @@ namespace Switch_Toolbox.Library.IO
{
byte* ext = end + 0x20;
if (data < ext)
*end-- = *--ext;
while (data < ext) ;
do
*end-- = *--ext;
while (data < ext);
}
public class LZSS