[GS] Lag frame counter
Posted: 07 Jun 2014, 01:34
Here's a code that counts and shows the number of laggy frames. Could be useful for figuring out camera strats. It's a bit long, but whatever.
US:
# hook new function
813279ac 0c10
813279ae 0100
# new function (increment counter)
81400400 3c0a
81400402 8040
81400404 8d4b
81400406 0000
81400408 256b
8140040a 0001
8140040c ad4b
8140040e 0000
81400410 080c
81400412 9ee6
81400414 0000
81400416 0000
# enable display
81248be8 0000
81248bea 0000
# calculate sum
81248be0 3c18
81248be2 8040
81248be4 8f0f
81248be6 0000
81248be8 8f0e
81248bea 0004
81248bec af0f
81248bee 0004
81248bf0 01ee
81248bf2 6823
81248bf4 8f07
81248bf6 0008
81248bf8 00ed
81248bfa 3821
81248bfc 24e7
81248bfe fffe
81248c14 af07
81248c16 0008
# reset counter with D-pad left
D033AFA0 0002
81400008 0000
D033AFA0 0002
8140000a 0000
http://pastebin.com/aprkPa5H
US:
# hook new function
813279ac 0c10
813279ae 0100
# new function (increment counter)
81400400 3c0a
81400402 8040
81400404 8d4b
81400406 0000
81400408 256b
8140040a 0001
8140040c ad4b
8140040e 0000
81400410 080c
81400412 9ee6
81400414 0000
81400416 0000
# enable display
81248be8 0000
81248bea 0000
# calculate sum
81248be0 3c18
81248be2 8040
81248be4 8f0f
81248be6 0000
81248be8 8f0e
81248bea 0004
81248bec af0f
81248bee 0004
81248bf0 01ee
81248bf2 6823
81248bf4 8f07
81248bf6 0008
81248bf8 00ed
81248bfa 3821
81248bfc 24e7
81248bfe fffe
81248c14 af07
81248c16 0008
# reset counter with D-pad left
D033AFA0 0002
81400008 0000
D033AFA0 0002
8140000a 0000
http://pastebin.com/aprkPa5H