Skip to content

Quitting a match no longer leaves its music over the menus - #115

Merged
boubou666 merged 1 commit into
mainfrom
claude/engine-snd-unload
Nov 27, 2026
Merged

boubou666 merged 1 commit into
mainfrom
claude/engine-snd-unload

Conversation

@boubou666

Copy link
Copy Markdown
Collaborator

What this fixes: after quitting a match from the pause menu, the match music kept playing over the menus.

The fix moves BozoEngine to master b29bc39, which brings TheBozos/BozoEngine#159.

  • Cause: the 989SND driver didn't stop a bank's sounds when the game unloaded the bank. Quitting from the pause unloads the level's banks without sending StopAllSounds, so the match's music, played from one of those banks, kept going.
  • Now: unloading a bank stops its sounds first, as the real driver does.
  • Also included: the other ports' merges since e2dff55 (#155–#158).

Checked:

  • A headless quit from the pause, with sound recorded. After the quit, the mean level drops from 4207 (match music plus menu music) to 2136 (the menu music alone, matching its level at boot).
    • On the previous build, the sound is identical, sample for sample, to the build from before this session, so the bug predates the PC SETTINGS and widescreen work.
  • All 11 native suites pass.
  • The 1P and 4P replays match main on every recorded field, the RAM image and the sound.
  • The pinned boot and match1p checks match.

🤖 Generated with Claude Code

…e b29bc39)

BozoEngine at master b29bc39: #159, the 989SND driver stops a bank's
sounds still playing when the game unloads it (quitting a match from the
pause unloads the level's banks without a StopAllSounds, and the match's
music, played from its bank, went on over the menus), with the other
ports' merges since e2dff55 (#155-#158).

Checked: a headless quit from the pause, sound recorded: after the quit
the mean level goes from 4207 (match music over the menu's) to 2136 (the
menu's own); the 11 native suites pass; the 1P and 4P replays match main on
every recorded field, RAM image and sound; the pinned boot and match1p
checks match.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@boubou666
boubou666 merged commit 38ff9f8 into main Nov 27, 2026
8 checks passed
@boubou666
boubou666 deleted the claude/engine-snd-unload branch November 27, 2026 01:56
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.

1 participant