mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 19:58:53 +00:00
Fixes spacing for "for", "while", "switch" and "if"
Also moved && and || to ends of lines instead of start. Fixed misc vertical alignments and some { needed newlining.
This commit is contained in:
parent
4591464486
commit
31cfc73a09
189 changed files with 1250 additions and 1159 deletions
|
@ -203,7 +203,7 @@ CConfigMain::CConfigMain(wxWindow* parent, wxWindowID id, const wxString& title,
|
|||
CreateGUIControls();
|
||||
|
||||
// Update selected ISO paths
|
||||
for(const std::string& folder : SConfig::GetInstance().m_ISOFolder)
|
||||
for (const std::string& folder : SConfig::GetInstance().m_ISOFolder)
|
||||
{
|
||||
ISOPaths->Append(StrToWxStr(folder));
|
||||
}
|
||||
|
@ -228,7 +228,7 @@ void CConfigMain::SetSelectedTab(int tab)
|
|||
// Used to restrict changing of some options while emulator is running
|
||||
void CConfigMain::UpdateGUI()
|
||||
{
|
||||
if(Core::GetState() != Core::CORE_UNINITIALIZED)
|
||||
if (Core::GetState() != Core::CORE_UNINITIALIZED)
|
||||
{
|
||||
// Disable the Core stuff on GeneralPage
|
||||
CPUThread->Disable();
|
||||
|
@ -1195,7 +1195,7 @@ void CConfigMain::WiiSettingsChanged(wxCommandEvent& event)
|
|||
int wii_system_lang = WiiSystemLang->GetSelection();
|
||||
SConfig::GetInstance().m_SYSCONF->SetData("IPL.LNG", wii_system_lang);
|
||||
u8 country_code = GetSADRCountryCode(wii_system_lang);
|
||||
if(!SConfig::GetInstance().m_SYSCONF->SetArrayData("IPL.SADR", &country_code, 1))
|
||||
if (!SConfig::GetInstance().m_SYSCONF->SetArrayData("IPL.SADR", &country_code, 1))
|
||||
{
|
||||
PanicAlert("Failed to update country code in SYSCONF");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue