Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Over the Hedge - Hammy Goes Nuts! (USA) voice during intro is just buzzing noise #360

Open
benderscruffy opened this issue Jan 7, 2019 · 7 comments
Labels
TIMING RENOVATION VICTIM when shit breaks in melonDS 0.7.1 but not in 0.7 timing Timing issue

Comments

@benderscruffy
Copy link

using 0.7.3
during the intro when the squirrel says noooo it is just a buzzing sound

@Arisotura
Copy link
Member

ugh. this is a timing renovation victim. I didn't expect that to break something sound-related, even less so to break it that badly.

not that it was perfect before...

@Arisotura Arisotura added the TIMING RENOVATION VICTIM when shit breaks in melonDS 0.7.1 but not in 0.7 label Jan 7, 2019
@Arisotura
Copy link
Member

it's a weird timing issue. it also affects NO$GBA.

setting kDataCacheTiming to 4 or more makes it go away.

have yet to investigate what other consequences this will have, tho.

@Arisotura Arisotura added the timing Timing issue label Jun 12, 2019
@Arisotura
Copy link
Member

so, let's see.

SPU: starting ch04 CNT=A800007F SRC=0236EA08 LEN=00001E00 (00000000+00001E00)
SPU: starting ch05 CNT=A87F007F SRC=02372618 LEN=00001E00 (00000000+00001E00)

these two channels are fed the audio for the FMV thing.

they're outputting earrape garbage.

@Arisotura
Copy link
Member

looking at what is written to these audio buffers, I see a lot of 7FFF/8000. there isn't any sort of access conflict over the buffers themselves, they're filled by a decoder of sorts that runs in ARM9 ITCM (and seems to start at 01FFF1B8).

that particular function takes incoming 32-bit audio data and clamps it to 16-bit.

this seems to mean that an earlier decoding phase is producing garbage, probably because it's getting garbage as input.

@Arisotura
Copy link
Member

this decoder is a steaming pile of bullshit and I don't even understand how it can work or what it's attempting to do

@Arisotura
Copy link
Member

it's weird because it's not streaming anything from the cart, it's all loaded before the FMV is played

@ghost
Copy link

ghost commented Dec 6, 2021

Still completely broken. I dunno who Hammy is but I'm not surprised he went nuts.

Capture

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
TIMING RENOVATION VICTIM when shit breaks in melonDS 0.7.1 but not in 0.7 timing Timing issue
Projects
None yet
Development

No branches or pull requests

2 participants