Skip to content

Handle LCD backlight calls without an applet proxy - #2537

Open
levischoonover wants to merge 1 commit into
seedds:mainfrom
levischoonover:fix/smash-backlight-crash
Open

levischoonover wants to merge 1 commit into
seedds:mainfrom
levischoonover:fix/smash-backlight-crash

Conversation

@levischoonover

Copy link
Copy Markdown

What and why

Fixes #2224. Credit to mee-nora for the diagnosis and locally tested fix.

Leaving Smash’s Vault > Sounds crashes in nn::oe::SwitchLcdBacklightOn() at sdk+0x32daa0: the SDK dereferences the null result of am::GetCommonStateGetter(), whose service object the host does not create.

Handle SwitchLcdBacklightOn and SwitchLcdBacklightOff in the host, leaving the host display on. This applies generally, without a game-specific patch. The Switch’s screen-off music behavior is not emulated.

Checked

  • Tests: existing t_oe suite passed all 53 checks; python3 -m unittest dm.tools.tests.test_docs passed all six tests
  • Games run, with title ID and version: Super Smash Bros. Ultimate, 01006A800016E000, version 13.0.5. The original host crashed when leaving Sounds. With the rebuilt host installed, the crash no longer occured. The log confirmed both additional hooks bound and the application exited with status 0.
  • Devices and OS: MacBook Pro M2, MacOS 27.2
  • Not checked: iOS

Docs

Added documentation in docs/reference/services.md and dm/games/01006A800016E000/README.md.

  • python3 dm/tools/docs_symptoms.py was run (the symptom index)
  • No game files, keys or data extracted from a game in the change or the attachments

@github-actions github-actions Bot added host The Horizon host: SVCs, services, threads, memory (dm/host) docs Documentation game: 01006A800016E000 Super Smash Bros. Ultimate labels Nov 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation game: 01006A800016E000 Super Smash Bros. Ultimate host The Horizon host: SVCs, services, threads, memory (dm/host)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Super Smash Bros. Ultimate 13.0.5: crash at sdk+0x32daa0 when opening My Music

1 participant