The Gens rerecording project, a Sega Genesis, 32x, Sega CD emulator. The primary purpose is to expand features related to creating Tool-Assisted movies.
What steps will reproduce the problem?
1. Create sample lua script
2. Try to set joypad values of X,Y,Z with joypad.set({X = true})
3. Buttons wont be pressed
Digging into the problem i've ended up debuggin joy_set function in
luascript.cpp:2023. The problem is caused by shifting (long long)1 and
assigning the result to variable with 'int' type. Changing type of the
variables 'input' and 'mask' fixed the problem.
Original issue reported on code.google.com by alexey.a...@gmail.com on 11 Apr 2013 at 5:31
Original issue reported on code.google.com by
alexey.a...@gmail.com
on 11 Apr 2013 at 5:31