DS cross hair display script - account for movie playback
This commit is contained in:
parent
6511632f15
commit
cea0e80637
|
@ -30,6 +30,11 @@ while true do
|
|||
local bufferY = client.bufferheight()
|
||||
|
||||
local btns = joypad.get()
|
||||
|
||||
if movie.mode() == "PLAY" and emu.framecount() > 0 then
|
||||
btns = movie.getinput(emu.framecount() - 1)
|
||||
end
|
||||
|
||||
local x = btns['TouchX']
|
||||
local y = btns['TouchY']
|
||||
local isDown = btns['Touch']
|
||||
|
|
Loading…
Reference in New Issue