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

Cleanup value corrections in config load/save #16608

Merged
merged 3 commits into from
Dec 19, 2022

Conversation

unknownbrackets
Copy link
Collaborator

This may help #16607 and might fix some other bugs.

Whether Load() or loadGameConfig() is used seems to be a bit dynamic in the code currently, so I figured it was safest to add a dedicated place to cleanup loaded config data or to modify configs before saving them. I think separating it makes it cleaner anyway, though (even if Load vs loadGameConfig were more consistent.)

I suspect on iOS, jit was just getting re-enabled for people and it was crashing from that.

-[Unknown]

@unknownbrackets unknownbrackets added the Code Cleanup Cleanup to make future work easier. Needs to be done sometimes. label Dec 17, 2022
@hrydgard
Copy link
Owner

Oh, that would make sense as an explanation for the iOS crashes. I'll review this tomorrow and might get it into 1.14.1.

@hrydgard hrydgard merged commit e9ed837 into hrydgard:master Dec 19, 2022
@unknownbrackets unknownbrackets added this to the v1.14.1 milestone Dec 19, 2022
@unknownbrackets unknownbrackets deleted the ini-load-cleanup branch December 19, 2022 22:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Code Cleanup Cleanup to make future work easier. Needs to be done sometimes.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants