# HG changeset patch # User Michael Pavone # Date 1447567584 28800 # Node ID bc127fa1f80056f375714cdcea1c9ded0cea4a52 # Parent fb4d09f874dd034de3cb67fc884c829ba5314b9f Fix Mega Drive peripheral ID for 3-button pad diff -r fb4d09f874dd -r bc127fa1f800 io.c --- a/io.c Sat Nov 14 13:56:41 2015 -0800 +++ b/io.c Sat Nov 14 22:06:24 2015 -0800 @@ -935,6 +935,9 @@ case IO_GAMEPAD3: { input = port->input[th ? GAMEPAD_TH1 : GAMEPAD_TH0]; + if (!th) { + input |= 0xC; + } break; } case IO_GAMEPAD6: