dreamcast/scene.h
Zack Buhman 25fef821b0 maple: read controller input on real hardware
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.
2023-12-10 00:44:33 +08:00

8 lines
144 B
C++

#pragma once
#include <cstdint>
uint32_t scene_transform_quad(uint32_t * scene, uint32_t color);
uint32_t scene_transform(uint32_t * scene);