Closed SadPencil closed 2 years ago
Nightly build for this pull request:
275 already does this for recommended resolutions.
Oops. Well, please apply the following change to that PR to fix the incorrect implementation.
DisplayOptionsPanel.cs
public override int GetHashCode()
{
return new { Width, Height }.GetHashCode();
// return Width - Height;
}
Modders may want a bigger screen size but magic values like
1280x800
are hard-coded. This PR makes these hard-coded resolutions configurable. It also fixes an incorrect implementation ofGetHashCode()
.