diff options
author | Michael Pavone <pavone@retrodev.com> | 2015-11-14 22:06:24 -0800 |
---|---|---|
committer | Michael Pavone <pavone@retrodev.com> | 2015-11-14 22:06:24 -0800 |
commit | a330577630ed3e9c54ca066039d5c53c270c3e3c (patch) | |
tree | e409b971b55c93dcdf6b2b5af6c7994ee8416755 /io.c | |
parent | be9d7aa532f6ac9f6550adb454ae6c801f15373c (diff) |
Fix Mega Drive peripheral ID for 3-button pad
Diffstat (limited to 'io.c')
-rw-r--r-- | io.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -935,6 +935,9 @@ uint8_t io_data_read(io_port * port, uint32_t current_cycle) case IO_GAMEPAD3: { input = port->input[th ? GAMEPAD_TH1 : GAMEPAD_TH0]; + if (!th) { + input |= 0xC; + } break; } case IO_GAMEPAD6: |