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

QDENGINE: Persist ConfMan changes across gameruns for sound/music #6088

Merged
merged 1 commit into from
Sep 1, 2024

Conversation

kunxl-gg
Copy link
Contributor

@kunxl-gg kunxl-gg commented Sep 1, 2024

No description provided.

@@ -319,6 +319,8 @@ void QDEngineEngine::syncSoundSettings() {

sndDispatcher::get_dispatcher()->syncSoundSettings();
mpegPlayer::instance().syncMusicSettings();

ConfMan.flushToDisk();
Copy link
Member

@sev- sev- Sep 1, 2024

Choose a reason for hiding this comment

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

This is wrong place. It is breaking the whole idea and design. By design, syncSoundSettings() is used to READ from ConfMan and never write to it.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Should be fixed now. @sev-

Signed-off-by: kunxl-gg <tiwari.25@iitj.ac.in>
@sev-
Copy link
Member

sev- commented Sep 1, 2024

Thank you!

@sev- sev- merged commit ce13038 into scummvm:master Sep 1, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants