-
Notifications
You must be signed in to change notification settings - Fork 121
[GEN][ZH] Prevent a custom Display Resolution from changing when making other changes in the Options Menu #1030
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
[GEN][ZH] Prevent a custom Display Resolution from changing when making other changes in the Options Menu #1030
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is an additional sneaky bug. It changes the resolution to what the combo box default is without confirming any resolution change. This causes a notable bug when declining a resolution change. Afterwards the GlobalData resolution is incorrectly set and causes misbehavior in the Options Menu resolution combo box.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Someone goofed here.
GeneralsMD/Code/GameEngine/Source/GameClient/GUI/GUICallbacks/Menus/OptionsMenu.cpp
Outdated
Show resolved
Hide resolved
Mauller
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works as intended when run in windowed mode, i have not tested in fullscreen yet since i have other things going on.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Someone goofed here.
…hanges in the Options Menu
9032226 to
e70c10a
Compare
|
Copy across looks clean |
|
Replicated in Generals. |
…ng other changes in the Options Menu (TheSuperHackers#1030)
This change prevents a custom display resolution from changing when making changes in the Options Menu.
Originally, the Display Resolution combo box in the Options Menu did not recognize custom resolutions that were set in the Options.ini. This would force the resolution to change when applying any changes in the Options Menu. When this happened in-game, then the game crashed.
A custom resolution now shows in the Combo Box
TODO