diff --git a/src/Library/src/BootLoader/gpu_boot.cpp b/src/Library/src/BootLoader/gpu_boot.cpp index bbc968be..daa5eab7 100644 --- a/src/Library/src/BootLoader/gpu_boot.cpp +++ b/src/Library/src/BootLoader/gpu_boot.cpp @@ -54,13 +54,16 @@ namespace JabyEngine { } }; + // Letters are actually only 16x15 but should be treated 16x16 struct Letter : public GPU::internal::LinkedElementCreator { CPU2VRAM cmd; - Line lines[FontSize.height]; + Line lines[FontSize.height - 1]; + Line empty_line; void setup(const SizeU16& size) { this->cmd.cmd = GPU_IO::Command::CPU2VRAM_Blitting(); this->cmd.size = GPU_IO::Command::WidthHeight(size); + this->empty_line.load(0); } void load_to(const PositionU16& pos, const uint16_t* bit_map) {