-
Notifications
You must be signed in to change notification settings - Fork 141
fix(cpudetect): Fix version and memory detection #1393
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
fix(cpudetect): Fix version and memory detection #1393
Conversation
barefootlogician
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.
currently the max specs it checks are such that pretty much any pc we would use today would more than quilify for the highest preset. I'd just replace everything with stubs that return the highest result and later refactor all the places where the stub functions are called.
xezon
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.
Just some minor things. Otherwise, looks good.
Memory detection would be incorrect on systems with > 4GB. Verson info detection is incorrect on Windows 8 and later and if manifested for an earlier version than currently running on.
7eb4130 to
213447f
Compare
The info cpudetect returns isn't just used for check in the game itself, is also used for outputting system information in the debug log and crash report if I remember rightly. |
Memory detection was incorrect on systems with > 4GB. Version info detection was incorrect on Windows 8 and later and if manifested for an earlier version than currently running on.
Memory detection would be incorrect on systems with > 4GB. Verson info detection is incorrect on Windows 8 and later and if manifested for an earlier version than currently running on.