Skip to content

Commit

Permalink
I definitely did NOT copy from ChatGPT. Why would I ever do that and …
Browse files Browse the repository at this point in the history
…then commit it?
  • Loading branch information
jvyden committed May 5, 2024
1 parent 6329070 commit 0cb2737
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Refresher/Patching/EbootPatcher.cs
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ private static void FindDigestAroundCookie(BinaryReader reader, List<long> found
public static string GeneratePpuHash(Stream stream)
{
stream.Position = 0;
ELF<ulong> elfFile = ELFReader.Load<ulong>(stream, false); // Assuming ELF32. Change to Elf64 if needed.
ELF<ulong> elfFile = ELFReader.Load<ulong>(stream, false);

using SHA1 hash = SHA1.Create();
foreach (Segment<ulong>? segment in elfFile.Segments)
Expand Down

0 comments on commit 0cb2737

Please sign in to comment.