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

First version of SaveBlock3 in debug menu #3

Merged
merged 3 commits into from
Feb 9, 2024

Conversation

pkmnsnfrn
Copy link

I'm fairly certain this isn't the _right solution, but I figured it's a start. Need to figure out what maxSb3Size should be.

Copy link
Owner

@mrgriffin mrgriffin left a comment

Choose a reason for hiding this comment

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

Thanks psf! I've not tested this yet, but have a few changes based on skimming it :)

include/save.h Outdated
Comment on lines 20 to 21
#define SECTOR_ID_SAVEBLOCK2_START 14
#define SECTOR_ID_SAVEBLOCK2_END 27
Copy link
Owner

Choose a reason for hiding this comment

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

I think this has slipped in from a backup-save removal commit?

Copy link
Author

Choose a reason for hiding this comment

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

No, this is me trying to guess what sectors these end in for use in CheckSaveBlock2Size.

Copy link
Owner

@mrgriffin mrgriffin Feb 9, 2024

Choose a reason for hiding this comment

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

Ah! I think CheckSaveBlock2Size was fine, there's just a single sector dedicated to SaveBlock2 (it's sector 0) :)

src/debug.c Outdated Show resolved Hide resolved
pkmnsnfrn and others added 2 commits February 9, 2024 10:23
Changed value of MaxSb3Size

Co-authored-by: Martin Griffin <[email protected]>
@mrgriffin mrgriffin merged commit 47f2852 into mrgriffin:rhh-saveblock-3 Feb 9, 2024
@mrgriffin mrgriffin deleted the rhh-saveblock-3 branch February 9, 2024 19:38
mrgriffin added a commit that referenced this pull request Feb 10, 2024
* SaveBlock3 in sector footers

* Update load_save.c

Since mgriffin is currently not available I took the liberty to edit the file. Hope it's fine.

* SaveBlock3 in debug menu (#3)

---------

Co-authored-by: DizzyEggg <[email protected]>
Co-authored-by: Alex <[email protected]>
Co-authored-by: psf <[email protected]>
mrgriffin pushed a commit that referenced this pull request Jan 11, 2025
update to newest expansion
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