Added named colors

This commit is contained in:
Jaby
2022-09-11 10:17:02 +02:00
parent 3317867f1d
commit db3196b290
2 changed files with 23 additions and 1 deletions

View File

@@ -2,6 +2,8 @@
#include <PSX/GPU/GPU.h>
namespace GPU {
void display_logo() {
Display::disable();
quick_fill_fast(Color(0x0, 0x80, 0x80), PositionU16(0, 0), SizeU16(640, 480));
@@ -11,6 +13,6 @@ namespace GPU {
void setup() {
Port::GP1.write(Port::Command::GP1::Reset());
quick_fill_fast(Color(0x0, 0x0, 0x0), PositionU16(0, 0), SizeU16(640, 480));
quick_fill_fast(Color::Black(), PositionU16(0, 0), SizeU16(640, 480));
}
}