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

ROM space on debug menu #3453

Merged
merged 2 commits into from
Oct 23, 2023

Conversation

mrgriffin
Copy link
Collaborator

@mrgriffin mrgriffin commented Oct 23, 2023

Based on this Discord comment.

Currently 23.22MB/32MB on agbcc and 23.17MB/32MB on modern (GCC 13.2.0). Obviously a byte count like in the save block message would be completely useless. So I chose to round to two decimal places, with ROUND_CEILING because I think it's more annoying to think you have enough space and actually not, than the opposite.

image

TBH it might make more sense to print out how much free space is available (both for the ROM and for save blocks)?

Copy link
Collaborator

@AsparagusEduardo AsparagusEduardo left a comment

Choose a reason for hiding this comment

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

Can you add a screenshot to see how it looks in-game?

src/debug.c Outdated Show resolved Hide resolved
@AsparagusEduardo
Copy link
Collaborator

TBH it might make more sense to print out how much free space is available (both for the ROM and for save blocks)?

Maybe, yeah, by either unifying the functions or add a menu to check each individual aspect.

@mrgriffin
Copy link
Collaborator Author

Maybe, yeah, by either unifying the functions or add a menu to check each individual aspect.

Pushed a change so that "Free space: ..." is displayed everywhere now too:

image

@AsparagusEduardo AsparagusEduardo merged commit 1110d0a into rh-hideout:upcoming Oct 23, 2023
1 check passed
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