fork/m-overlay

git clone https://git.julia.blue/fork/m-overlay

BkacjiosUpdated a bunch of joystick translations to match games x/y values between -1 and 17277dd1

v2.1.6
333 B19 linesraw
1-- Metal Gear Solid - The Twin Snakes (NTSC v1.0)
2
3local core = require("games.core")
4
5local game = core.newGame(0x801E9388)
6
7local abs = math.abs
8
9-- These functions seem to apply to many games
10
11function game.translateJoyStick(x, y)
12	x = x/100
13	y = y/100
14	return x, y
15end
16
17game.translateCStick = game.translateJoyStick
18
19return game