Skip to content

Wood box art: draw black inside covers, and redraw the calendar when a cover goes away - #2701

Merged
RocketRobz merged 1 commit into
DS-Homebrew:masterfrom
therenow9:fix/wood-box-art-follow-ups
Oct 27, 2026
Merged

RocketRobz merged 1 commit into
DS-Homebrew:masterfrom
therenow9:fix/wood-box-art-follow-ups

Conversation

@therenow9

Copy link
Copy Markdown
Contributor

What's changed?

This is a follow-up fix for #2698, which added box art to the Wood theme. It fixes two things in that change's updateBoxArt():

  1. Black inside a cover is drawn. Pure black was skipped everywhere in the cover, which was meant for the black padding on the right of DSpico covers. On a light [box art] panel that showed the panel colour through every black outline and the black DS-case spine. Now only the trailing black columns (the padding, already left out of the centering) are skipped, and black inside the art is drawn. A dark panel looks the same as before.
  2. The calendar comes back in full. When the cursor leaves a game with a cover, only the day grid was redrawn, so a clock, year, month, day number or weekday that a theme put inside the [box art] panel stayed blank until it next changed (the known limit noted in Wood: show box art in a theme-defined top-screen panel #2698). All of them are redrawn now.

Changes are limited to romsel_aktheme/arm9/source/graphics/graphics.cpp (+13/−2). Themes without [box art] are unchanged.

Where have you tested it?

New Nintendo 3DS XL with a DSpico, TWiLight on the console SD, covers from fat:/_pico/covers on the DSpico:

Before and after, Kirby Super Star Ultra on the white panel:

Before and after: Kirby Super Star Ultra cover on a white box art panel

Pull Request status

  • This PR has been tested using the latest version of devkitARM and libnds.

Built in the devkitpro/devkitarm:20241104 Docker image that the nightly workflow uses.

The code was written with help from an AI assistant (Claude Code). I reviewed it and tested it on my console.

Pure black was skipped everywhere in a cover, so on a light [box art]
panel every black outline and the black DS-case spine showed the
panel colour. Only the trailing black columns (DSpico covers'
padding) are skipped now.

When a cover goes away, the clock, year, month, day number and
weekday are redrawn along with the day grid, so calendar pieces a
theme put inside the [box art] panel come back.
@RocketRobz
RocketRobz merged commit 3fdbfa7 into DS-Homebrew:master Oct 27, 2026
1 check passed
@therenow9
therenow9 deleted the fix/wood-box-art-follow-ups branch October 27, 2026 23:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants