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

Don't load game INIs in Core::Init #4713

Merged
merged 2 commits into from Feb 4, 2017

Conversation

JosJuice
Copy link
Member

The game INIs are already loaded in BootManager::BootCore, which is executed right before. Let's put the g_aspect_wide code there instead.

@@ -272,14 +269,19 @@ bool BootCore(const std::string& _rFilename)
controls_section->Get(StringFromFormat("PadType%u", i), &source, -1);
if (source >= SIDEVICE_NONE && source < SIDEVICE_COUNT)
{
SConfig::GetInstance().m_SIDevice[i] = (SIDevices)source;
StartUp.m_SIDevice[i] = (SIDevices)source;

This comment was marked as off-topic.

This comment was marked as off-topic.

The game INIs are already loaded in BootManager::BootCore,
which is executed right before. Let's put the g_aspect_wide
code there instead.
@degasus degasus merged commit 3be3640 into dolphin-emu:master Feb 4, 2017
@JosJuice JosJuice deleted the core-init-gameini branch February 4, 2017 09:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants