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

Config: Port Movie settings to new config system. #10323

Merged
merged 1 commit into from Dec 30, 2021

Conversation

AdmiralCurtiss
Copy link
Contributor

No description provided.

@@ -1670,7 +1672,7 @@ void Renderer::FrameDumpThreadFunc()

// Stop frame dumping if we fail to start.
if (!frame_dump_started)
SConfig::GetInstance().m_DumpFrames = false;
Config::SetCurrent(Config::MAIN_MOVIE_DUMP_FRAMES, false);
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This one I wasn't sure whether I should be using SetBase(), SetCurrent(), or SetBaseOrCurrent(). Probably doesn't matter too much though.

Copy link
Member

Choose a reason for hiding this comment

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

The behavior in master where it effectively sets the base layer is actually really confusing, because the checkbox in the GUI doesn't update until you restart Dolphin, and so if you want to restart emulation and retry dumping, you have to realize that you have to go and turn the framedumping checkbox off and then on again even though it looks like it's already on. So I agree that SetCurrent makes sense.

@JMC47 JMC47 merged commit 5331160 into dolphin-emu:master Dec 30, 2021
10 checks passed
@AdmiralCurtiss AdmiralCurtiss deleted the config-port-movie branch December 30, 2021 20:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants