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 free space check #475

Merged
merged 2 commits into from
Dec 19, 2020
Merged

Fix free space check #475

merged 2 commits into from
Dec 19, 2020

Conversation

Daft-Freak
Copy link
Collaborator

I must have tested this with a file that fit exactly. Another case of a single character breaking everything...

std::strings aren't null-terminated.
@Gadgetoid
Copy link
Contributor

Haha you've been code golfing your game sizes? 😆 Thank you! I'll tag another release.

@Gadgetoid Gadgetoid merged commit 824f7af into 32blit:master Dec 19, 2020
@Daft-Freak Daft-Freak deleted the patch-2 branch December 19, 2020 17:25
@Daft-Freak
Copy link
Collaborator Author

Yeah, after shrinking stuff my flash was full of single-block holes.

@ahnlak
Copy link
Contributor

ahnlak commented Dec 19, 2020

So, next up is flash-defrag? :)

@Daft-Freak
Copy link
Collaborator Author

Haha, think that's quite far down the list! 😄

@ali1234
Copy link
Contributor

ali1234 commented Dec 19, 2020

Is that also a fix for #470?

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.

4 participants