diff --git a/Utilities/git-version-gen.cmd b/Utilities/git-version-gen.cmd index d3a198846f..e55b6befc9 100644 --- a/Utilities/git-version-gen.cmd +++ b/Utilities/git-version-gen.cmd @@ -13,7 +13,7 @@ rem // A copy of the GPL 2.0 should have been included with the program. rem // If not, see http://www.gnu.org/licenses/ rem // Official git repository and contact information can be found at -rem // https://github.com/DHrpcs3/rpcs3 and http://code.google.com/p/rpcs3/. +rem // https://github.com/DHrpcs3/rpcs3 and http://rpcs3.net/. setlocal ENABLEDELAYEDEXPANSION diff --git a/rpcs3/Emu/Cell/PPUProgramCompiler.h b/rpcs3/Emu/Cell/PPUProgramCompiler.h index 70b16ee58f..857965b95f 100644 --- a/rpcs3/Emu/Cell/PPUProgramCompiler.h +++ b/rpcs3/Emu/Cell/PPUProgramCompiler.h @@ -24,10 +24,10 @@ struct Arg ArgType type; Arg(const wxString& _string, const u32 _value = 0, const ArgType _type = ARG_ERR) - : value(_value) + : string(_string.ToStdString()) + , value(_value) , type(_type) { - string = _string.ToStdString(); } }; @@ -68,19 +68,19 @@ class CompilePPUProgram s32 m_addr; Branch(const wxString& name, s32 pos) - : m_pos(pos) + : m_name(name.ToStdString()) + , m_pos(pos) , m_id(-1) , m_addr(-1) { - m_name = name.ToStdString(); } Branch(const wxString& name, u32 id, u32 addr) - : m_pos(-1) + : m_name(name.ToStdString()) + , m_pos(-1) , m_id(id) , m_addr(addr) { - m_name = name.ToStdString(); } }; @@ -105,9 +105,9 @@ class CompilePPUProgram u32 m_addr; SpData(const wxString& data, u32 addr) - : m_addr(addr) + : m_data(data.ToStdString()) + , m_addr(addr) { - m_data = data.ToStdString(); } }; diff --git a/rpcs3/Emu/Cell/PPUThread.h b/rpcs3/Emu/Cell/PPUThread.h index 0302180399..d0db068ab9 100644 --- a/rpcs3/Emu/Cell/PPUThread.h +++ b/rpcs3/Emu/Cell/PPUThread.h @@ -401,7 +401,7 @@ struct PPCdouble return (u64&)_double; } - u32 GetZerosCount() + u32 GetZerosCount() const { u32 ret; u32 dd = frac >> 32; diff --git a/rpcs3/Emu/GS/RSXThread.h b/rpcs3/Emu/GS/RSXThread.h index c0e55d7871..f3aee00b18 100644 --- a/rpcs3/Emu/GS/RSXThread.h +++ b/rpcs3/Emu/GS/RSXThread.h @@ -30,7 +30,7 @@ struct RSXVertexData RSXVertexData(); void Reset(); - bool IsEnabled() { return size > 0; } + bool IsEnabled() const { return size > 0; } void Load(u32 start, u32 count); u32 GetTypeSize(); @@ -450,7 +450,6 @@ protected: m_set_scissor_horizontal = false; m_set_scissor_vertical = false; m_set_front_polygon_mode = false; - m_clear_surface_mask = 0; m_set_blend_sfactor = false; m_set_blend_dfactor = false; m_set_stencil_mask = false; diff --git a/rpcs3/Emu/HDD/HDD.h b/rpcs3/Emu/HDD/HDD.h index 3271ed4605..c403df21f5 100644 --- a/rpcs3/Emu/HDD/HDD.h +++ b/rpcs3/Emu/HDD/HDD.h @@ -235,7 +235,7 @@ public: return 0; } - u64 GetSize() + u64 GetSize() const { return m_info.size; } diff --git a/rpcs3/Emu/Io/Keyboard.h b/rpcs3/Emu/Io/Keyboard.h index 5a44408fde..1cd6201def 100644 --- a/rpcs3/Emu/Io/Keyboard.h +++ b/rpcs3/Emu/Io/Keyboard.h @@ -20,7 +20,7 @@ public: CellKbData& GetData(const u32 keyboard) { return m_keyboard_handler->GetData(keyboard); } CellKbConfig& GetConfig(const u32 keyboard) { return m_keyboard_handler->GetConfig(keyboard); } - bool IsInited() { return m_inited; } + bool IsInited() const { return m_inited; } //private: //DECLARE_EVENT_TABLE(); diff --git a/rpcs3/Emu/Io/Mouse.h b/rpcs3/Emu/Io/Mouse.h index 90f2336fbc..6b2e47611a 100644 --- a/rpcs3/Emu/Io/Mouse.h +++ b/rpcs3/Emu/Io/Mouse.h @@ -19,7 +19,7 @@ public: CellMouseData& GetData(const u32 mouse) { return m_mouse_handler->GetData(mouse); } CellMouseRawData& GetRawData(const u32 mouse) { return m_mouse_handler->GetRawData(mouse); } - bool IsInited() { return m_inited; } + bool IsInited() const { return m_inited; } //private: //DECLARE_EVENT_TABLE(); diff --git a/rpcs3/Emu/Io/Pad.h b/rpcs3/Emu/Io/Pad.h index 2fdafb0639..6860f7b3d2 100644 --- a/rpcs3/Emu/Io/Pad.h +++ b/rpcs3/Emu/Io/Pad.h @@ -18,7 +18,7 @@ public: PadInfo& GetInfo() { return m_pad_handler->GetInfo(); } Array