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

[MMBN3] Fixes incorrect "Game Completion" Flag getting set #3217

Merged
merged 1 commit into from
May 7, 2024

Conversation

digiholic
Copy link
Collaborator

What is this fixing or adding?

Adds in a check preventing the game from reading garbage data as a game completion flag. Addressing a bug report in Discord

Idling on the title screen long enough could write garbage data to the Save ROM when the title screen restarts. This data can sometimes write to the area of the Save that the client uses to check if the game is completed.

How was this tested?

Ran the attached seed in the discord post with and without Lua fix for 30 minutes. Pre-patch consistently hit the bug within a few minutes, post-patch the bug never occurred.

@github-actions github-actions bot added the waiting-on: peer-review Issue/PR has not been reviewed by enough people yet. label Apr 26, 2024
@ScipioWright ScipioWright added is: bug/fix Issues that are reporting bugs or pull requests that are fixing bugs. affects: release/blocker Issues/PRs that must be addressed before next official release. labels Apr 26, 2024
Copy link
Member

@Exempt-Medic Exempt-Medic left a comment

Choose a reason for hiding this comment

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

Code LGTM. Corroborated that the error was fixed

Copy link
Collaborator

@ScipioWright ScipioWright left a comment

Choose a reason for hiding this comment

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

I have seen reports of this change fixing this issue several times, and have not seen reports claiming this fix made their issue worse or didn't fix the issue.

Otherwise, this is a tiny amount of code that is probably correct.

@ScipioWright ScipioWright added waiting-on: core-review Issue/PR has been peer-reviewed and is ready to be merged or needs input from a core maintainer. and removed waiting-on: peer-review Issue/PR has not been reviewed by enough people yet. labels May 6, 2024
@NewSoupVi NewSoupVi merged commit 12b8fef into ArchipelagoMW:main May 7, 2024
10 checks passed
jnschurig pushed a commit to Tranquilite0/Archipelago-SoulBlazer that referenced this pull request Jun 13, 2024
qwint pushed a commit to qwint/Archipelago that referenced this pull request Jun 24, 2024
AustinSumigray pushed a commit to AustinSumigray/Archipelago that referenced this pull request Jan 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects: release/blocker Issues/PRs that must be addressed before next official release. is: bug/fix Issues that are reporting bugs or pull requests that are fixing bugs. waiting-on: core-review Issue/PR has been peer-reviewed and is ready to be merged or needs input from a core maintainer.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants