Skip to content

[GEN][ZH] Fix crash when launching the game with an unsupported Display Resolution or when the graphics adapter does not support 800 x 600 #1055

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

xezon
Copy link

@xezon xezon commented Jun 12, 2025

This change prevents the game from crashing when launching with an unsupported Display Resolution or when the graphics adapter does not support 800 x 600, because that is the default game creation resolution.

@xezon xezon requested a review from a team June 12, 2025 17:33
@xezon xezon added Blocker Severity: Minor < Major < Critical < Blocker Bug Something is not working right, typically is user facing Gen Relates to Generals ZH Relates to Zero Hour Crash This is a crash labels Jun 12, 2025
@xezon xezon added this to the Stability fixes milestone Jun 12, 2025
{
// TheSuperHackers @bugfix xezon 11/06/2025 Now tries a safe default resolution
// if the custom resolution did not succeed. This is unlikely to happen but is possible
// if the user writes an unsupported resolution into to the Option Preferences or if the
Copy link
Author

Choose a reason for hiding this comment

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

into to

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Blocker Severity: Minor < Major < Critical < Blocker Bug Something is not working right, typically is user facing Crash This is a crash Gen Relates to Generals ZH Relates to Zero Hour
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Game crashes on full screen launch if game creation resolution is not supported by the graphics adapter
2 participants