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 Debug settings to new config system. #10325

Merged
merged 1 commit into from Dec 30, 2021

Conversation

AdmiralCurtiss
Copy link
Contributor

I've cached these in JitBase (see JitBase::RefreshConfig()) because that seemed like the easier approach -- otherwise I'd have to touch every single instruction codegen function. Likely better performance-wise too, though I haven't actually tested it.

const Info<bool> MAIN_DEBUG_JIT_LOAD_STORE_LXZ_OFF{{System::Main, "Debug", "JitLoadStorelXzOff"},
false};
const Info<bool> MAIN_DEBUG_JIT_LOAD_STORE_LWZ_OFF{{System::Main, "Debug", "JitLoadStorelwzOff"},
false};
const Info<bool> MAIN_DEBUG_JIT_LOAD_STORE_LBZX_OFF{{System::Main, "Debug", "JitLoadStorelbzxOff"},
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.

Note these were previously not stored to the INI, so I made up new config keys for them.

Copy link
Member

Choose a reason for hiding this comment

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

These actually fully match the keys in the previous PR that attempted to do this: #9001

I'm happy with these keys.

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