From 24e7d891376489021f035acf08176032020cd5b9 Mon Sep 17 00:00:00 2001 From: Bkacjios Date: Fri, 25 Mar 2022 23:14:41 -0400 Subject: [PATCH] Added support for Ed, Edd n Eddy: The Mis-Edventures (#139) --- source/modules/games/GE9E5D-0.lua | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 source/modules/games/GE9E5D-0.lua diff --git a/source/modules/games/GE9E5D-0.lua b/source/modules/games/GE9E5D-0.lua new file mode 100644 index 0000000..19f627c --- /dev/null +++ b/source/modules/games/GE9E5D-0.lua @@ -0,0 +1,19 @@ +-- Ed, Edd n Eddy - The Mis-Edventures (NTSC-U v1.0) + +local core = require("games.core") + +local game = core.newGame(0x8038B2B4) + +function game.translateJoyStick(x, y) + x = x/56 + y = y/56 + return x, y +end + +function game.translateCStick(x, y) + x = x/44 + y = y/44 + return x, y +end + +return game