diff --git a/include/PSX/System/IOPorts/gpu_io.hpp b/include/PSX/System/IOPorts/gpu_io.hpp index 43d93dfb..37307d49 100644 --- a/include/PSX/System/IOPorts/gpu_io.hpp +++ b/include/PSX/System/IOPorts/gpu_io.hpp @@ -2,6 +2,7 @@ #define __JABYENGINE_GPU_IO_HPP__ #include "ioport.hpp" #include "../../GPU/gpu_types.hpp" +#include namespace JabyEngine { namespace GPU_IO { @@ -141,7 +142,7 @@ namespace JabyEngine { return {Helper::construct_cmd(0x04, static_cast(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);