Fix broken DisplayArea
This commit is contained in:
parent
49a6873ad5
commit
ad18c89c0b
|
@ -2,6 +2,7 @@
|
|||
#define __JABYENGINE_GPU_IO_HPP__
|
||||
#include "ioport.hpp"
|
||||
#include "../../GPU/gpu_types.hpp"
|
||||
#include <stdio.h>
|
||||
|
||||
namespace JabyEngine {
|
||||
namespace GPU_IO {
|
||||
|
@ -141,7 +142,7 @@ namespace JabyEngine {
|
|||
return {Helper::construct_cmd(0x04, static_cast<uint32_t>(dir))};
|
||||
}
|
||||
|
||||
static constexpr GP1_t DisplayArea(uint16_t x, uint16_t y) {
|
||||
static constexpr GP1_t DisplayArea(uint32_t x, uint32_t y) {
|
||||
constexpr auto X = BitRange::from_to(0, 9);
|
||||
constexpr auto Y = BitRange::from_to(10, 18);
|
||||
|
||||
|
|
Loading…
Reference in New Issue