Mercurial > repos > blastem
comparison io.c @ 1379:65f1d6558e9e
Update SMS code for changes supporting slow rise time emulation in IO code
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Mon, 29 May 2017 18:25:11 -0700 |
parents | e587f16e7d3d |
children | aca496957999 |
comparison
equal
deleted
inserted
replaced
1378:71c8b97eb962 | 1379:65f1d6558e9e |
---|---|
1839 } | 1839 } |
1840 switch (port->device_type) | 1840 switch (port->device_type) |
1841 { | 1841 { |
1842 case IO_GAMEPAD2: | 1842 case IO_GAMEPAD2: |
1843 input = ~port->input[GAMEPAD_TH1]; | 1843 input = ~port->input[GAMEPAD_TH1]; |
1844 device_driven = 0x3F; | |
1844 break; | 1845 break; |
1845 case IO_GAMEPAD3: | 1846 case IO_GAMEPAD3: |
1846 { | 1847 { |
1847 input = port->input[th ? GAMEPAD_TH1 : GAMEPAD_TH0]; | 1848 input = port->input[th ? GAMEPAD_TH1 : GAMEPAD_TH0]; |
1848 if (!th) { | 1849 if (!th) { |