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

Fix sample exporting #20

Merged
merged 3 commits into from
Oct 5, 2024
Merged

Fix sample exporting #20

merged 3 commits into from
Oct 5, 2024

Conversation

louist103
Copy link
Owner

A lot of samples were duplicated with attributes for LoopOffset. This attribute was not used in OOT or MM decomp so it was removed. This is matched by a PR in OTRExporter and they should be merged together.

ZAPD/ZAudio.h Outdated Show resolved Hide resolved
ZAPD/ZAudio.h Outdated Show resolved Hide resolved
ZAPD/ZAudio.cpp Outdated

return sample;
}
else
{
return samples[sampleOffset];
return samples[(uint64_t)sampleDataOffset << 32 | 0];
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But then everywhere we index it, we are just shifting the value over without adding anything else, so I'm not sure the intent here.

How does this all impact 32 bit platforms (WiiU)?

ZAPD/ZAudio.cpp Outdated Show resolved Hide resolved
@louist103 louist103 merged commit 215d3c2 into MM_Fixes1 Oct 5, 2024
1 check failed
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.

2 participants