all repos — mgba @ 2254fc68c272f3b010c28707bb87fd74715194f0

mGBA Game Boy Advance Emulator

Wii: Uncomment code that accidentally got committed commented-out
Jeffrey Pfau jeffrey@endrift.com
Thu, 07 Jan 2016 23:51:34 -0800
commit

2254fc68c272f3b010c28707bb87fd74715194f0

parent

c732ea6a71d410b234ecf76e86c5e4d8bbd98e44

1 files changed, 2 insertions(+), 2 deletions(-)

jump to
M src/platform/wii/main.csrc/platform/wii/main.c

@@ -611,7 +611,7 @@ angles = GBAInputMapAxis(&runner->context.inputMap, GCN1_INPUT, 1, PAD_StickY(0));

if (angles != GBA_KEY_NONE) { keys |= 1 << angles; } - /*if (ext == WPAD_EXP_CLASSIC) { + if (ext == WPAD_EXP_CLASSIC) { keys |= GBAInputMapKeyBits(&runner->context.inputMap, CLASSIC_INPUT, wiiPad, 0); angles = GBAInputMapAxis(&runner->context.inputMap, CLASSIC_INPUT, 0, WPAD_StickX(0, 0)); if (angles != GBA_KEY_NONE) {

@@ -621,7 +621,7 @@ angles = GBAInputMapAxis(&runner->context.inputMap, CLASSIC_INPUT, 1, WPAD_StickY(0, 0));

if (angles != GBA_KEY_NONE) { keys |= 1 << angles; } - }*/ + } return keys; }