Skip to content

Commit

Permalink
Fix incorrect autosplitter info pointer offset
Browse files Browse the repository at this point in the history
  • Loading branch information
Popax21 committed Nov 14, 2023
1 parent 59665f1 commit 962e926
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Celeste.Mod.mm/Mod/Everest/AutoSplitter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ private static long WriteString(MemoryMappedViewAccessor view, ref long offset,
view.WriteArray(offset + 2, utf8Str, 0, utf8Str.Length);
view.Write(offset + 2 + utf8Str.Length, (byte) 0);

long ptrOff = offset + 1;
long ptrOff = offset + 2;
offset += 2 + utf8Str.Length + 1;
return ptrOff;
}
Expand Down

0 comments on commit 962e926

Please sign in to comment.