Pattern Scanner for missing FPS (#82)

This commit is contained in:
elb
2025-02-23 13:59:23 -05:00
committed by GitHub
parent 5455fd9772
commit fd7f7ba8a4
2 changed files with 8 additions and 1 deletions

View File

@@ -270,7 +270,7 @@ func (gd *GameReader) LastGamePass() string {
}
func (gd *GameReader) FPS() int {
return int(gd.ReadUInt(gd.moduleBaseAddressPtr+0x2140DF4, 4))
return int(gd.ReadUInt(gd.moduleBaseAddressPtr+gd.offset.FPS, Uint32))
}
func (gd *GameReader) HasMerc() bool {