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

Add fall back condition #3452

Merged
merged 3 commits into from
Apr 6, 2024
Merged

Add fall back condition #3452

merged 3 commits into from
Apr 6, 2024

Conversation

Zedb0T
Copy link
Contributor

@Zedb0T Zedb0T commented Apr 6, 2024

No description provided.

@Zedb0T
Copy link
Contributor Author

Zedb0T commented Apr 6, 2024

(let ((max-refresh-rate (pc-get-active-display-refresh-rate)))
(cond
((> max-refresh-rate 100)
(set! (-> *options-remap* (progress-screen graphic-settings)) *graphic-options-pc*)
(set! *carousell-frame-rate* *carousell-frame-rate-150fps*)
)
((> max-refresh-rate 60)
(set! (-> *options-remap* (progress-screen graphic-settings)) *graphic-options-pc*)
(set! *carousell-frame-rate* *carousell-frame-rate-100fps*)
)
(else
(set! (-> *options-remap* (progress-screen graphic-settings)) *graphic-options-pc*)
)
))

Its probably better to just move (set! (-> *options-remap* (progress-screen graphic-settings)) *graphic-options-pc*) to line 867 before the let and remove it from each case right?
Since we don't need to display different menus conditionally anymore?

@xTVaser xTVaser merged commit c5357f7 into open-goal:master Apr 6, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants