Update more converted IO
This commit is contained in:
@@ -13,11 +13,11 @@ namespace JabyEngine {
|
||||
static constexpr auto Height = PublicDisplay::Height;
|
||||
|
||||
#ifdef JABYENGINE_PAL
|
||||
static constexpr auto DisplayMode = GPU_IO::DisplayMode::PAL();
|
||||
static constexpr auto DisplayMode = GPU_IO_Values::DisplayMode::PAL();
|
||||
static constexpr uint16_t ScanlinesV = 288;
|
||||
static constexpr auto DisplayRange = PositionI16::create(78, 35);
|
||||
#else
|
||||
static constexpr auto DisplayMode = GPU_IO::DisplayMode::NTSC();
|
||||
static constexpr auto DisplayMode = GPU_IO_Values::DisplayMode::NTSC();
|
||||
static constexpr uint16_t ScanlinesV = 240;
|
||||
static constexpr auto DisplayRange = PositionI16::create(76, 16);
|
||||
#endif //JABYENGINE_PAL
|
||||
@@ -78,7 +78,7 @@ namespace JabyEngine {
|
||||
|
||||
struct Receive {
|
||||
static void prepare() {
|
||||
GPU_IO::GP1.set_dma_direction(GPU_IO::GPUSTAT::DMADirection::CPU2GPU);
|
||||
GPU_IO::GP1.set_dma_direction(GPU_IO_Values::GPUSTAT::DMADirection::CPU2GPU);
|
||||
reset_cmd_buffer();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user