Create a frame rate
This commit is contained in:
@@ -24,6 +24,8 @@ namespace JabyEngine {
|
||||
static void exchange_buffer_and_display();
|
||||
};
|
||||
|
||||
void wait_vsync(uint8_t syncs);
|
||||
|
||||
static void set_draw_area(uint16_t x, uint16_t y) {
|
||||
GPU_IO::GP0 = GPU_IO::Command::DrawAreaTopLeft(x, y);
|
||||
GPU_IO::GP0 = GPU_IO::Command::DrawAreaBottomRight((x + Display::Width), (y + Display::Height));
|
||||
|
||||
Reference in New Issue
Block a user