From d60b83791c64a51fe52ef58facaa26c6ae92056b Mon Sep 17 00:00:00 2001 From: zeromus Date: Wed, 1 Apr 2020 18:00:42 -0400 Subject: [PATCH] fix StyleusInputDisplay --- Assets/Lua/DS/StyleusInputDisplay.lua | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/Assets/Lua/DS/StyleusInputDisplay.lua b/Assets/Lua/DS/StyleusInputDisplay.lua index 21238fd5b3..8e5f6cb58e 100644 --- a/Assets/Lua/DS/StyleusInputDisplay.lua +++ b/Assets/Lua/DS/StyleusInputDisplay.lua @@ -24,9 +24,6 @@ while true do break end - local bufferX = client.bufferwidth() - local bufferY = client.bufferheight() - local btns = joypad.get() if movie.mode() == "PLAY" and emu.framecount() > 0 then @@ -46,8 +43,8 @@ while true do pts = client.transformPoint(x, y) local tx = pts["x"]; local ty = pts["y"]; - - Draw(tx, ty, bufferX, bufferY, isDown) +gui.DrawNew("native") + Draw(tx, ty, 10000, 10000, isDown) emu.frameadvance() end \ No newline at end of file