Support Second controller port (or not if disabled) and have a fancy background

This commit is contained in:
2024-01-04 22:28:25 -06:00
parent 8a7bcf92fa
commit 60c4c5e61f
5 changed files with 46 additions and 25 deletions

View File

@@ -46,7 +46,11 @@ static StateChange state_changer;
static StateChange old_state_changer;
namespace Shared {
Menu::BackMenu back_menu;
Menu::BackMenu back_menu;
JabyEngine::GPU::POLY_G4 background = Make::POLY_G4(
Make::AreaI16(0, 0, GPU::Display::Width, GPU::Display::Height),
{GPU::Color24::Red(0xA0), GPU::Color24::Green(0xA0), GPU::Color24::Blue(0xA0), GPU::Color24::Black()}
);
}
static void setup() {
@@ -84,6 +88,7 @@ namespace NormalScene {
}
static void render() {
GPU::render(Shared::background);
FontWriter::new_font_writer.render();
FontWriter::bios_font_writer.render();
paco.render();