Skip to content

Fix EU build, fix its audio samples, fix its menu texts - #607

Open
maxgerhardt wants to merge 4 commits into
sm64pc:nightlyfrom
maxgerhardt:eu-menu-text-fix
Open

Fix EU build, fix its audio samples, fix its menu texts#607
maxgerhardt wants to merge 4 commits into
sm64pc:nightlyfrom
maxgerhardt:eu-menu-text-fix

Conversation

@maxgerhardt

@maxgerhardt maxgerhardt commented Jun 27, 2026

Copy link
Copy Markdown

Fixes the build failure described in #535 by adding #include "heap.h".

Additionally fixes the problem that audio cuts out after only a second in the title screen and ingame. The audio samples were always built for the US variant, a Makefile line overwrote previously existing options.

Additionally fixes a bug in the menu rendering that shows up after a level was finished. The german version's text was longer than 26 characters so it got weirdly overwritten. Increase it to 28.

Before:

grafik

After:

grafik

So, this gets this game from unbuildable in the current version to nicely playable.

maxgerhardt and others added 4 commits June 27, 2026 13:42
VERSION_ASFLAGS was overwritten instead of appended, so sequences assembled
with US opcodes while the EU engine decoded them, corrupting note allocation.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
gCurrAudioFrameDmaCount was never reset in the PC port, overflowing
gCurrAudioFrameDmaIoMesgBufs[] after a second of playback.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
textSaveExitGame rows were 26 bytes; the German 'SPEICHERN & SPIEL VERLASSEN'
needs 28 (27 chars + terminator), so it was truncated unterminated and bled
into the next array's English text. Size the rows to 28.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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