Skip to content

Commit

Permalink
Fix shop name offset bug (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
petfriendamy committed Jun 7, 2024
1 parent 3a2c372 commit 7775204
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ExeEditor/ExeData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -625,7 +625,7 @@ public void WriteEXE(string? path = null)
}

//write shop names
stream.Seek(SHOP_NAME_POS + GetShopNameLength(), SeekOrigin.Begin);
stream.Seek(SHOP_NAME_POS + GetShopNameOffset(), SeekOrigin.Begin);
foreach (var n in ShopNames)
{
writer.Write(n.GetBytes(GetShopNameLength()));
Expand Down

0 comments on commit 7775204

Please sign in to comment.