aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
authorgbc dev <gbc@localhost>2026-07-17 00:27:18 +0200
committergbc dev <gbc@localhost>2026-07-17 00:27:18 +0200
commit6c0eaf8469a3f4876cb067e11824a030bf37bcac (patch)
tree731f75c98d3da0ea420817f8116895d994924039 /src/main.c
parentgb: boot ROM (BIOS) support (diff)
downloadsl0pboy-6c0eaf8469a3f4876cb067e11824a030bf37bcac.tar.gz
sl0pboy-6c0eaf8469a3f4876cb067e11824a030bf37bcac.tar.xz
sl0pboy-6c0eaf8469a3f4876cb067e11824a030bf37bcac.zip
render: Game Boy chrome, LCD palette recolor, and frame capture
- --chrome: draw a DMG-style 'sl0pboy' shell around the LCD in sixel mode, with a bitmap-font silk-screen (logo, labels), speaker grille, power LED, and buttons that light up while held. - LCD palette recolor (render_set_palette): remap the LCD to a 4-shade palette by luminance for the classic monochrome look ('dmg'/'green' pea green, 'pocket'/'gray'); applies to every render path. - Refactor the sixel encoder into generic build_palette_buf/encode_sixel_buf operating on any RGB888 buffer, shared by the bare LCD and the chrome canvas. - render_capture_size/frame: produce the exact displayed frame (recolor + chrome) as an RGB buffer, for screenshots and video recording.
Diffstat (limited to 'src/main.c')
0 files changed, 0 insertions, 0 deletions