修复go版本生产得到的acl文件不可用的问题

This commit is contained in:
a92126 2025-03-21 09:11:25 +08:00
parent c0a10148b4
commit db483b6f69

View File

@ -628,7 +628,7 @@ func format( cheats []Cheat ) []byte {
for i, ch := range chts { for i, ch := range chts {
binary.Encode(retval[cheatbase+i*4:], binary.LittleEndian, ch) binary.Encode(retval[cheatbase+i*4:], binary.LittleEndian, ch)
} }
copy(retval[cheatbase:], expanded) copy(retval[expandbase:], expanded)
return retval return retval
} }