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

Write 0 to outposAddr when before return ATRAC_ERROR_ALL_DATA_DECODED #4837

Merged
merged 1 commit into from
Dec 15, 2013
Merged

Write 0 to outposAddr when before return ATRAC_ERROR_ALL_DATA_DECODED #4837

merged 1 commit into from
Dec 15, 2013

Conversation

raven02
Copy link
Contributor

@raven02 raven02 commented Dec 15, 2013

This fixes #4382

Thanks @sum2012 to find out the issue.

// Just loop the whole audio
atrac->loopStartSample = 0;
atrac->loopEndSample = atrac->endSample;
} else {
Copy link
Collaborator

Choose a reason for hiding this comment

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

There's no changes here except putting it into an else, right? Just indents the code more, doesn't it? Is there another reason for this change?

-[Unknown]

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yep , just indents the code and put else only .No functional changes.

Copy link
Collaborator

Choose a reason for hiding this comment

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

It'd be nice if you didn't so much. It really makes the git history a lot harder and more annoying to follow, and I really don't see how more indented is better anyway. Changing it again would be even worse, of course.

-[Unknown]

@hrydgard
Copy link
Owner

This needs tests, but still looks reasonable enough that I'm fine with merging, as it makes sense and fixes a game.

hrydgard added a commit that referenced this pull request Dec 15, 2013
Write 0 to outposAddr when before return ATRAC_ERROR_ALL_DATA_DECODED
@hrydgard hrydgard merged commit 24885ad into hrydgard:master Dec 15, 2013
@daniel229
Copy link
Collaborator

This breaks frontier gate boost+,nonstop loading on loading game save or starting new game after video.
01

@sum2012
Copy link
Collaborator

sum2012 commented Dec 15, 2013

Maybe open new issue for frontier gate boost+ ?

hrydgard added a commit that referenced this pull request Dec 15, 2013
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.

Prince of Persia forgotten sands - controls not working
5 participants