Skip to content

Commit b28a67a

Browse files
committed
Renamed 'Apply()' methods to 'Patch.'
1 parent 0168959 commit b28a67a

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

LibIPS.NET/Patcher.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ namespace CodeIsle
88
{
99
class Patcher
1010
{
11-
public void ApplyStudy(Stream patch, Studier.IpsStudy study, Stream source, Stream target)
11+
public void PatchStudy(Stream patch, Studier.IpsStudy study, Stream source, Stream target)
1212
{
1313
source.CopyTo(target);
1414
if (study.Error == Studier.IpsError.IpsInvalid) throw new Exceptions.IpsInvalidException();
@@ -43,11 +43,11 @@ public void ApplyStudy(Stream patch, Studier.IpsStudy study, Stream source, Stre
4343
}
4444
if (study.OutlenMax != 0xFFFFFFFF && source.Length <= study.OutlenMax) throw new Exceptions.IpsNotThisException(); // Truncate data without this being needed is a poor idea.
4545
}
46-
public void Apply(Stream patch, Stream source, Stream target)
46+
public void Patch(Stream patch, Stream source, Stream target)
4747
{
4848
Studier studier = new Studier();
4949
Studier.IpsStudy study = studier.Study(patch);
50-
ApplyStudy(patch, study, source, target);
50+
PatchStudy(patch, study, source, target);
5151
}
5252
}
5353
}

0 commit comments

Comments
 (0)