Cleanup GPU code more
This commit is contained in:
@@ -21,6 +21,8 @@ namespace JabyEngine {
|
||||
static constexpr size_t Height = 240;
|
||||
#endif
|
||||
|
||||
static uint8_t current_id;
|
||||
|
||||
static void enable() {
|
||||
GPU_IO::GP1 = GPU_IO::Command::SetDisplayState(GPU_IO::DisplayState::On);
|
||||
}
|
||||
@@ -28,10 +30,6 @@ namespace JabyEngine {
|
||||
static void disable() {
|
||||
GPU_IO::GP1 = GPU_IO::Command::SetDisplayState(GPU_IO::DisplayState::Off);
|
||||
}
|
||||
};
|
||||
|
||||
struct Screen {
|
||||
static uint8_t CurrentDisplayAreaID;
|
||||
|
||||
static void set_offset(uint16_t x, uint16_t y);
|
||||
};
|
||||
|
Reference in New Issue
Block a user