Fix unity

This commit is contained in:
SilicaAndPina 2020-04-06 18:29:09 +12:00
parent 4852d3e074
commit e6bfda5158
6 changed files with 2 additions and 2 deletions

Binary file not shown.

Binary file not shown.

View File

@ -219,7 +219,7 @@ namespace LocalPSM_
for (int i = 0x70; i != 0x90; i++)
{
if (ProjectName.Text.Length < i - 0x70)
if (ProjectName.Text.Length > i - 0x70)
krng[i] = (byte)ProjectName.Text[i - 0x70];
else
krng[i] = 0x00;
@ -231,7 +231,7 @@ namespace LocalPSM_
for (int i = 0x8; i != 0x28; i++)
{
if (keyRngName.Length < i - 0x8)
if (keyRngName.Length > i - 0x8)
krng[i] = (byte)keyRngName[i - 0x8];
else
krng[i] = 0x00;