Skip to content

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