From d3fa8a616703f50a6c3fa28a2d9c605b63842826 Mon Sep 17 00:00:00 2001 From: Tillmann Karras Date: Fri, 4 Jul 2014 03:53:22 +0200 Subject: [PATCH 1/2] Reorder class initializer lists --- Source/Core/AudioCommon/Mixer.h | 2 +- Source/Core/DiscIO/BannerLoader.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/Core/AudioCommon/Mixer.h b/Source/Core/AudioCommon/Mixer.h index 6400cf8da4..d1096b2eb0 100644 --- a/Source/Core/AudioCommon/Mixer.h +++ b/Source/Core/AudioCommon/Mixer.h @@ -88,9 +88,9 @@ protected: , m_input_sample_rate(sample_rate) , m_indexW(0) , m_indexR(0) - , m_numLeftI(0.0f) , m_LVolume(256) , m_RVolume(256) + , m_numLeftI(0.0f) { memset(m_buffer, 0, sizeof(m_buffer)); } diff --git a/Source/Core/DiscIO/BannerLoader.h b/Source/Core/DiscIO/BannerLoader.h index c7dfdadefa..7d6a25b8cf 100644 --- a/Source/Core/DiscIO/BannerLoader.h +++ b/Source/Core/DiscIO/BannerLoader.h @@ -19,8 +19,8 @@ class IBannerLoader { public: IBannerLoader() - : m_pBannerFile(nullptr) - , m_IsValid(false) + : m_IsValid(false) + , m_pBannerFile(nullptr) {} virtual ~IBannerLoader() From 20dc0e78191f0bc2385253c9c8a565793a976fe0 Mon Sep 17 00:00:00 2001 From: Tillmann Karras Date: Fri, 4 Jul 2014 03:56:58 +0200 Subject: [PATCH 2/2] Remove unused variables --- Source/Core/Core/PowerPC/JitCommon/Jit_Util.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/Source/Core/Core/PowerPC/JitCommon/Jit_Util.cpp b/Source/Core/Core/PowerPC/JitCommon/Jit_Util.cpp index 58348d19cb..3c8eababe1 100644 --- a/Source/Core/Core/PowerPC/JitCommon/Jit_Util.cpp +++ b/Source/Core/Core/PowerPC/JitCommon/Jit_Util.cpp @@ -13,9 +13,6 @@ using namespace Gen; -static const u8 GC_ALIGNED16(pbswapShuffle1x4[16]) = {3, 2, 1, 0, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15}; -static u32 GC_ALIGNED16(float_buffer); - void EmuCodeBlock::LoadAndSwap(int size, Gen::X64Reg dst, const Gen::OpArg& src) { if (cpu_info.bMOVBE)