From 0ff64ec7d6d3aede26e9192ccf31b99884b51de7 Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Fri, 6 Sep 2013 01:13:27 -0700 Subject: [PATCH] Fix some initialization order warnings. --- Core/MIPS/MIPSAsm.h | 2 +- UI/MainScreen.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Core/MIPS/MIPSAsm.h b/Core/MIPS/MIPSAsm.h index 90a945031e..65fcc7f631 100644 --- a/Core/MIPS/MIPSAsm.h +++ b/Core/MIPS/MIPSAsm.h @@ -23,7 +23,7 @@ typedef struct { class CMipsInstruction { public: - CMipsInstruction(DebugInterface* cpu):cpu(cpu),Loaded(false) { }; + CMipsInstruction(DebugInterface* cpu):Loaded(false), cpu(cpu) { }; bool Load(char* Name, char* Params, int RamPos); bool Validate(); void Encode(); diff --git a/UI/MainScreen.cpp b/UI/MainScreen.cpp index cba0c91244..e4c0affea2 100644 --- a/UI/MainScreen.cpp +++ b/UI/MainScreen.cpp @@ -329,7 +329,7 @@ private: }; GameBrowser::GameBrowser(std::string path, bool allowBrowsing, bool *gridStyle, std::string lastText, std::string lastLink, UI::LayoutParams *layoutParams) - : LinearLayout(UI::ORIENT_VERTICAL, layoutParams), path_(path), allowBrowsing_(allowBrowsing), gridStyle_(gridStyle), gameList_(0), lastText_(lastText), lastLink_(lastLink) { + : LinearLayout(UI::ORIENT_VERTICAL, layoutParams), path_(path), gameList_(0), allowBrowsing_(allowBrowsing), gridStyle_(gridStyle), lastText_(lastText), lastLink_(lastLink) { using namespace UI; Refresh(); }