There were two notable bugs: - the maple transfer/data sizes were not being set correctly - align_32byte always realigned the address of `_scene`, and not the `mem` parameter as expected. This had the effect of the maple-DMA send and receive buffers being the same buffer. On real hardware, this causes unpredicable behavior.
286 B
286 B
| 1 | data_transfer | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|---|---|---|---|---|---|---|---|---|---|
| 2 | digital_button | Ra | La | Da | Ua | Start | A | B | C |
| 3 | digital_button | Rb | Lb | Db | Ub | D | X | Y | Z |
| 4 | analog_axis_1 | ||||||||
| 5 | analog_axis_2 | ||||||||
| 6 | analog_axis_3 | ||||||||
| 7 | analog_axis_4 | ||||||||
| 8 | analog_axis_5 | ||||||||
| 9 | analog_axis_6 |