HackerN64 / HackerN64/HackerSM64

Handle end address alignments with the AI Buffers at boot time to prevent audio stuttering on inaccurate emulators

Open
#886 7 comments 0 reactions 1 assignee Claimed by @gheskett View on GitHub
bug low priority vanilla
Dominant language
C
Stars
529
Forks
209
Avg merge
1d 12h
Merged PRs (30d)
1

Description

ORIGINAL ISSUE: "Setting GFX_POOL_SIZE to 60000 causes severe audio playback stuttering"

There is no reason the GFX pool size should have any impact whatsoever on audio, so this is likely some sort of UB taking place. This is reproduceable in at least HackerSM64 2.4, all the way back to at least HackerSM64 2.1.2 (maybe further, more testing needed). Choice of GCC version / compiler also seems to not matter for this bug, so whatever behavior is likely taking place seems to be consistent. Hopefully this means bisecting for the issue won't be too difficult or inconclusive, however the severity of this issue likely correlates to some other unexplainable issues people may have run into with their hacks.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.