mirror of
https://github.com/crskycode/GARbro.git
synced 2026-07-08 01:30:18 +08:00
remove try catch statement
This commit is contained in:
@@ -1598,8 +1598,6 @@ namespace GameRes.Formats.KiriKiri
|
|||||||
public class Kano2Crypt : ICrypt
|
public class Kano2Crypt : ICrypt
|
||||||
{
|
{
|
||||||
public override void Decrypt(Xp3Entry entry, long offset, byte[] buffer, int pos, int count)
|
public override void Decrypt(Xp3Entry entry, long offset, byte[] buffer, int pos, int count)
|
||||||
{
|
|
||||||
try
|
|
||||||
{
|
{
|
||||||
// only apply xor every 8 bytes
|
// only apply xor every 8 bytes
|
||||||
for (int i = 0; i < count; ++i)
|
for (int i = 0; i < count; ++i)
|
||||||
@@ -1611,12 +1609,6 @@ namespace GameRes.Formats.KiriKiri
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
|
||||||
{
|
|
||||||
System.Console.WriteLine(e.Message);
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
public override void Encrypt(Xp3Entry entry, long offset, byte[] buffer, int pos, int count)
|
public override void Encrypt(Xp3Entry entry, long offset, byte[] buffer, int pos, int count)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user