-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Enable in-game reload of some settings #6792
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.
Just a few very minor nitpicks, looks good otherwise. Untested.
|
in my testing of this pr if you change the per game settings they don't apply until you go into the main settings menu and click save but past that it seems to work fine. |
|
@money123451 should work now. |
|
it works as it should now. |
| @@ -625,16 +660,59 @@ namespace rsx | |||
| const f32 x_stride = f32(w) / m_datapoint_count; | |||
| const u32 tail_index_offset = m_datapoints.size() - m_datapoint_count; | |||
|
|
|||
| for (u32 i = 0; i < m_datapoint_count; ++i) | |||
| for (size_t i = 0; i < m_datapoint_count; ++i) | |||
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.
whats going on here? this change and the one below it seem pointless...unless I missed something.
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.
Some random warning I was getting. It fixed some green wavey underlined text in VS 🤷♂️
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.
It's a good change correctness wise though, especially when indexing arrays it's healthy to use a machine word size data type.
This will enable the dynamic reapplication of certain settings during game play after saving the settings dialog. Further settings might be unlocked accordingly in the future.
The currently unlocked settings are:
all the settings for the performance overlay,
all the settings for the shader compilation hint,
all the settings for the shader compilation screen (although currently only applies whenever the screen is spawned),
show trophy popups,
auto-start,
auto-exit,
start with fullscreen,
show fps in title