From 0d42ddf732ea6a325f9796ca5f62d64143bca717 Mon Sep 17 00:00:00 2001 From: Steven Hugg Date: Fri, 11 Sep 2026 15:00:27 +0200 Subject: [PATCH] gb: gb.color, GB_CGB_FLAGS, color mode sets default palette and: const params = PLATFORM_PARAMS[platform] || PLATFORM_PARAMS[getBasePlatform(platform)]; --- index.html | 1 + presets/gb/chase.c | 16 ++++++++++++++++ presets/gb/gb/crt0.sgb | 3 +++ presets/gb/pakupaku.c | 12 ++++++++++++ presets/gb/siegegame.c | 8 ++++++++ src/machine/gb.ts | 15 +++++++++++++-- src/platform/gb.ts | 9 +++------ src/tools/testlib.ts | 2 +- src/worker/builder.ts | 9 ++++----- src/worker/platforms.ts | 18 +++++++++++++----- src/worker/tools/mcpp.ts | 2 +- src/worker/workertools.ts | 1 - 12 files changed, 75 insertions(+), 21 deletions(-) diff --git a/index.html b/index.html index 28c5ada2..8d40c2bb 100644 --- a/index.html +++ b/index.html @@ -153,6 +153,7 @@ body {
  • Atari 5200
  • Atari 7800
  • Game Boy
  • +
  • Game Boy Color
  • PC Engine