diff --git a/Source/Core/Common/IniFile.h b/Source/Core/Common/IniFile.h index 29a6ddba8c..3847eeb9e5 100644 --- a/Source/Core/Common/IniFile.h +++ b/Source/Core/Common/IniFile.h @@ -140,8 +140,6 @@ private: const Section* GetSection(const std::string& section) const; Section* GetSection(const std::string& section); - std::string* GetLine(const std::string& section, const std::string& key); - void CreateSection(const std::string& section); static const std::string& NULL_STRING; }; diff --git a/Source/Core/Core/DSP/DSPEmitter.h b/Source/Core/Core/DSP/DSPEmitter.h index a6738e2045..f5b01dd391 100644 --- a/Source/Core/Core/DSP/DSPEmitter.h +++ b/Source/Core/Core/DSP/DSPEmitter.h @@ -33,7 +33,6 @@ public: void CompileDispatcher(); Block CompileStub(); void Compile(u16 start_addr); - void ClearCallFlag(); bool FlagsNeeded(); @@ -62,7 +61,6 @@ public: void dmem_write_imm(u16 addr, Gen::X64Reg value); // Ext command helpers - void pushExtValueFromReg(u16 dreg, u16 sreg); void popExtValueToReg(); void pushExtValueFromMem(u16 dreg, u16 sreg); void pushExtValueFromMem2(u16 dreg, u16 sreg); diff --git a/Source/Core/Core/FifoPlayer/FifoPlaybackAnalyzer.h b/Source/Core/Core/FifoPlayer/FifoPlaybackAnalyzer.h index 67244c507e..714aa701fb 100644 --- a/Source/Core/Core/FifoPlayer/FifoPlaybackAnalyzer.h +++ b/Source/Core/Core/FifoPlayer/FifoPlaybackAnalyzer.h @@ -34,7 +34,6 @@ private: void AddMemoryUpdate(MemoryUpdate memUpdate, AnalyzedFrameInfo &frameInfo); u32 DecodeCommand(u8 *data); - void LoadBP(u32 value0); void StoreEfbCopyRegion(); void StoreWrittenRegion(u32 address, u32 size); diff --git a/Source/Core/Core/HW/CPU.h b/Source/Core/Core/HW/CPU.h index 9475d93d6c..52d9cd0df9 100644 --- a/Source/Core/Core/HW/CPU.h +++ b/Source/Core/Core/HW/CPU.h @@ -30,9 +30,6 @@ public: // StepOpcode (Steps one Opcode) static void StepOpcode(Common::Event *event = nullptr); - // one step only - static void SingleStep(); - // Enable or Disable Stepping static void EnableStepping(const bool _bStepping); diff --git a/Source/Core/Core/HW/WiimoteReal/WiimoteReal.h b/Source/Core/Core/HW/WiimoteReal/WiimoteReal.h index 55c4c9ed6f..5fc1ca9045 100644 --- a/Source/Core/Core/HW/WiimoteReal/WiimoteReal.h +++ b/Source/Core/Core/HW/WiimoteReal/WiimoteReal.h @@ -158,10 +158,7 @@ void ControlChannel(int _WiimoteNumber, u16 _channelID, const void* _pData, u32 void Update(int _WiimoteNumber); void ConnectOnInput(int _WiimoteNumber); -void DoState(PointerWrap &p); void StateChange(EMUSTATE_CHANGE newState); - -int FindWiimotes(Wiimote** wm, int max_wiimotes); void ChangeWiimoteSource(unsigned int index, int source); bool IsValidBluetoothName(const std::string& name); diff --git a/Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_es.h b/Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_es.h index 2391be80de..776c1ca784 100644 --- a/Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_es.h +++ b/Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_es.h @@ -144,8 +144,6 @@ private: static u8 *keyTable[11]; - u64 GetCurrentTitleID() const; - const DiscIO::INANDContentLoader& AccessContentDevice(u64 _TitleID); u32 OpenTitleContent(u32 CFD, u64 TitleID, u16 Index); diff --git a/Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_net.h b/Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_net.h index bca0730635..0fbc2631a1 100644 --- a/Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_net.h +++ b/Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_net.h @@ -612,8 +612,6 @@ private: #ifdef _WIN32 WSADATA InitData; #endif - u32 ExecuteCommand(u32 _Parameter, u32 _BufferIn, u32 _BufferInSize, u32 _BufferOut, u32 _BufferOutSize); - u32 ExecuteCommandV(SIOCtlVBuffer& CommandBuffer); }; // ********************************************************************************** diff --git a/Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_usb.h b/Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_usb.h index c516dfac5a..cd8c7446b6 100644 --- a/Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_usb.h +++ b/Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_usb.h @@ -75,8 +75,6 @@ public: void DoState(PointerWrap &p) override; - void NetPlay_WiimoteUpdate(int _number); - private: enum USBIOCtl { diff --git a/Source/Core/Core/IPC_HLE/WII_IPC_HLE_WiiMote.h b/Source/Core/Core/IPC_HLE/WII_IPC_HLE_WiiMote.h index bb858ac07d..e9b5bbc3e9 100644 --- a/Source/Core/Core/IPC_HLE/WII_IPC_HLE_WiiMote.h +++ b/Source/Core/Core/IPC_HLE/WII_IPC_HLE_WiiMote.h @@ -57,8 +57,6 @@ public: void ExecuteL2capCmd(u8* _pData, u32 _Size); // From CPU void ReceiveL2capData(u16 scid, const void* _pData, u32 _Size); // From Wiimote - int NetPlay_GetWiimoteNum(int _number); - void EventConnectionAccepted(); void EventDisconnect(); bool EventPagingChanged(u8 _pageMode); @@ -143,6 +141,4 @@ private: void SDPSendServiceAttributeResponse(u16 _SCID, u16 TransactionID, u32 _ServiceHandle, u16 _StartAttrID, u16 _EndAttrID, u16 _MaximumAttributeByteCount, u8* _pContinuationState); - - u16 AddAttribToList(int _AttribID, u8* _pBuffer); }; diff --git a/Source/Core/Core/NetPlayClient.h b/Source/Core/Core/NetPlayClient.h index 56e38ef7b2..c95aeeaf8e 100644 --- a/Source/Core/Core/NetPlayClient.h +++ b/Source/Core/Core/NetPlayClient.h @@ -135,8 +135,6 @@ private: void Disconnect(); bool Connect(); - void OnTraversalDisconnect(int fail); - PlayerId m_pid; std::map m_players; std::string m_host_spec; diff --git a/Source/Core/Core/PowerPC/Interpreter/Interpreter.h b/Source/Core/Core/PowerPC/Interpreter/Interpreter.h index fd8ee933c6..8203a2bd14 100644 --- a/Source/Core/Core/PowerPC/Interpreter/Interpreter.h +++ b/Source/Core/Core/PowerPC/Interpreter/Interpreter.h @@ -20,7 +20,6 @@ class Interpreter : public CPUCoreBase public: void Init() override; void Shutdown() override; - void Reset(); void SingleStep() override; int SingleStepInner(); @@ -28,8 +27,6 @@ public: void ClearCache() override; const char *GetName() override; - void Log(); - static bool m_EndBlock; static void unknown_instruction(UGeckoInstruction _inst); @@ -269,7 +266,6 @@ public: static void crxor(UGeckoInstruction _inst); static void mcrf(UGeckoInstruction _inst); static void rfi(UGeckoInstruction _inst); - static void rfid(UGeckoInstruction _inst); static void sync(UGeckoInstruction _inst); static void isync(UGeckoInstruction _inst); diff --git a/Source/Core/Core/PowerPC/JitILCommon/JitILBase.h b/Source/Core/Core/PowerPC/JitILCommon/JitILBase.h index f536113812..3d1aec4c8b 100644 --- a/Source/Core/Core/PowerPC/JitILCommon/JitILBase.h +++ b/Source/Core/Core/PowerPC/JitILCommon/JitILBase.h @@ -94,13 +94,9 @@ public: void reg_imm(UGeckoInstruction inst); - void ps_sel(UGeckoInstruction inst); - void ps_mr(UGeckoInstruction inst); - void ps_sign(UGeckoInstruction inst); //aggregate void ps_arith(UGeckoInstruction inst); //aggregate void ps_mergeXX(UGeckoInstruction inst); void ps_maddXX(UGeckoInstruction inst); - void ps_rsqrte(UGeckoInstruction inst); void ps_sum(UGeckoInstruction inst); void ps_muls(UGeckoInstruction inst); diff --git a/Source/Core/Core/PowerPC/SignatureDB.h b/Source/Core/Core/PowerPC/SignatureDB.h index 3cf12cf60e..85f5268e24 100644 --- a/Source/Core/Core/PowerPC/SignatureDB.h +++ b/Source/Core/Core/PowerPC/SignatureDB.h @@ -35,7 +35,6 @@ public: bool Load(const std::string& filename); // Does not clear. Remember to clear first if that's what you want. bool Save(const std::string& filename); - void Clean(const char *prefix); void Clear(); void List(); diff --git a/Source/Core/DiscIO/VolumeCreator.h b/Source/Core/DiscIO/VolumeCreator.h index f6e928e81e..c3173a5172 100644 --- a/Source/Core/DiscIO/VolumeCreator.h +++ b/Source/Core/DiscIO/VolumeCreator.h @@ -16,7 +16,6 @@ class IBlobReader; IVolume* CreateVolumeFromFilename(const std::string& _rFilename, u32 _PartitionGroup = 0, u32 _VolumeNum = -1); IVolume* CreateVolumeFromDirectory(const std::string& _rDirectory, bool _bIsWii, const std::string& _rApploader = "", const std::string& _rDOL = ""); -bool IsVolumeWiiDisc(const IVolume *_rVolume); bool IsVolumeWadFile(const IVolume *_rVolume); void VolumeKeyForPartition(IBlobReader& _rReader, u64 offset, u8* VolumeKey); diff --git a/Source/Core/DolphinWX/Debugger/CodeWindow.h b/Source/Core/DolphinWX/Debugger/CodeWindow.h index 69574e2020..bafed76fec 100644 --- a/Source/Core/DolphinWX/Debugger/CodeWindow.h +++ b/Source/Core/DolphinWX/Debugger/CodeWindow.h @@ -62,11 +62,9 @@ public: void CreateMenu(const SConfig& _LocalCoreStartupParameter, wxMenuBar *pMenuBar); void CreateMenuOptions(wxMenu *pMenu); void CreateMenuSymbols(wxMenuBar *pMenuBar); - void RecreateToolbar(wxToolBar*); void PopulateToolbar(wxToolBar* toolBar); void UpdateButtonStates(); void OpenPages(); - void UpdateManager(); // Menu bar void ToggleCodeWindow(bool bShow); diff --git a/Source/Core/DolphinWX/Debugger/DebuggerPanel.h b/Source/Core/DolphinWX/Debugger/DebuggerPanel.h index 8715c29f2c..35d2e2d5b0 100644 --- a/Source/Core/DolphinWX/Debugger/DebuggerPanel.h +++ b/Source/Core/DolphinWX/Debugger/DebuggerPanel.h @@ -74,5 +74,4 @@ private: void OnClearTextureCacheButton(wxCommandEvent& event); void OnClearVertexShaderCacheButton(wxCommandEvent& event); void OnClearPixelShaderCacheButton(wxCommandEvent& event); - void OnCountEnter(wxCommandEvent& event); }; diff --git a/Source/Core/DolphinWX/Debugger/JitWindow.h b/Source/Core/DolphinWX/Debugger/JitWindow.h index ad7bbe666d..b548052122 100644 --- a/Source/Core/DolphinWX/Debugger/JitWindow.h +++ b/Source/Core/DolphinWX/Debugger/JitWindow.h @@ -47,8 +47,5 @@ private: wxTextCtrl* ppc_box; wxTextCtrl* x86_box; - void OnSymbolListChange(wxCommandEvent& event); - void OnCallstackListChange(wxCommandEvent& event); - void OnAddrBoxChange(wxCommandEvent& event); void OnHostMessage(wxCommandEvent& event); }; diff --git a/Source/Core/DolphinWX/Debugger/MemoryWindow.h b/Source/Core/DolphinWX/Debugger/MemoryWindow.h index b5cc8d7f4f..fecb56f7e3 100644 --- a/Source/Core/DolphinWX/Debugger/MemoryWindow.h +++ b/Source/Core/DolphinWX/Debugger/MemoryWindow.h @@ -42,7 +42,6 @@ private: void onAscii(wxCommandEvent& event); void onHex(wxCommandEvent& event); void OnSymbolListChange(wxCommandEvent& event); - void OnCallstackListChange(wxCommandEvent& event); void OnAddrBoxChange(wxCommandEvent& event); void OnHostMessage(wxCommandEvent& event); void SetMemoryValueFromValBox(wxCommandEvent& event); diff --git a/Source/Core/DolphinWX/Debugger/WatchWindow.h b/Source/Core/DolphinWX/Debugger/WatchWindow.h index 07b8fd6b2a..fd5ce94672 100644 --- a/Source/Core/DolphinWX/Debugger/WatchWindow.h +++ b/Source/Core/DolphinWX/Debugger/WatchWindow.h @@ -27,8 +27,6 @@ public: void LoadAll(); private: - void CreateGUIControls(); - wxAuiManager m_mgr; // Owned by wx. Deleted implicitly upon destruction. diff --git a/Source/Core/DolphinWX/Frame.h b/Source/Core/DolphinWX/Frame.h index 31eeb2745a..1d3a377b05 100644 --- a/Source/Core/DolphinWX/Frame.h +++ b/Source/Core/DolphinWX/Frame.h @@ -300,7 +300,6 @@ private: void OnToggleFullscreen(wxCommandEvent& event); void OnToggleDualCore(wxCommandEvent& event); void OnToggleSkipIdle(wxCommandEvent& event); - void OnToggleThrottle(wxCommandEvent& event); void OnManagerResize(wxAuiManagerEvent& event); void OnMove(wxMoveEvent& event); void OnResize(wxSizeEvent& event); diff --git a/Source/Core/DolphinWX/GameListCtrl.h b/Source/Core/DolphinWX/GameListCtrl.h index 5a0ec77cb2..fb504d267b 100644 --- a/Source/Core/DolphinWX/GameListCtrl.h +++ b/Source/Core/DolphinWX/GameListCtrl.h @@ -96,7 +96,6 @@ private: void OnCompressISO(wxCommandEvent& event); void OnMultiCompressISO(wxCommandEvent& event); void OnMultiDecompressISO(wxCommandEvent& event); - void OnInstallWAD(wxCommandEvent& event); void OnChangeDisc(wxCommandEvent& event); void CompressSelection(bool _compress); diff --git a/Source/Core/DolphinWX/TASInputDlg.h b/Source/Core/DolphinWX/TASInputDlg.h index a25a6c4c7c..71a0db4b50 100644 --- a/Source/Core/DolphinWX/TASInputDlg.h +++ b/Source/Core/DolphinWX/TASInputDlg.h @@ -38,18 +38,13 @@ class TASInputDlg : public wxDialog void GetValues(GCPadStatus* PadStatus); void GetValues(u8* data, WiimoteEmu::ReportFeatures rptf, int ext, const wiimote_key key); void SetTurbo(wxMouseEvent& event); - void SetTurboFalse(wxMouseEvent& event); - void SetTurboState(wxCheckBox* CheckBox, bool* turbo_on); void ButtonTurbo(); void GetKeyBoardInput(GCPadStatus* PadStatus); void GetKeyBoardInput(u8* data, WiimoteEmu::ReportFeatures rptf, int ext, const wiimote_key key); - bool TextBoxHasFocus(); - void SetLandRTriggers(); void CreateGCLayout(); void CreateWiiLayout(int num); wxBitmap CreateStickBitmap(int x, int y); void SetWiiButtons(u16* butt); - void GetIRData(u8* const data, u8 mode, bool use_accel); void HandleExtensionChange(); private: diff --git a/Source/Core/InputCommon/ControllerInterface/Device.h b/Source/Core/InputCommon/ControllerInterface/Device.h index c27910af5d..7e6172149f 100644 --- a/Source/Core/InputCommon/ControllerInterface/Device.h +++ b/Source/Core/InputCommon/ControllerInterface/Device.h @@ -61,8 +61,6 @@ public: virtual ControlState GetState() const = 0; - bool ShouldHaveInput(); - ControlState GetGatedState() { if (InputGateOn()) diff --git a/Source/Core/VideoBackends/Software/TransformUnit.h b/Source/Core/VideoBackends/Software/TransformUnit.h index 4cd2695afb..fa62b0586f 100644 --- a/Source/Core/VideoBackends/Software/TransformUnit.h +++ b/Source/Core/VideoBackends/Software/TransformUnit.h @@ -9,11 +9,6 @@ struct OutputVertexData; namespace TransformUnit { - void MultiplyVec2Mat24(const float *vec, const float *mat, float *result); - void MultiplyVec2Mat34(const float *vec, const float *mat, float *result); - void MultiplyVec3Mat33(const float *vec, const float *mat, float *result); - void MultiplyVec3Mat34(const float *vec, const float *mat, float *result); - void TransformPosition(const InputVertexData *src, OutputVertexData *dst); void TransformNormal(const InputVertexData *src, bool nbt, OutputVertexData *dst); void TransformColor(const InputVertexData *src, OutputVertexData *dst); diff --git a/Source/Core/VideoBackends/Software/VideoBackend.h b/Source/Core/VideoBackends/Software/VideoBackend.h index c7c502995b..e34ae07f9a 100644 --- a/Source/Core/VideoBackends/Software/VideoBackend.h +++ b/Source/Core/VideoBackends/Software/VideoBackend.h @@ -42,10 +42,6 @@ class VideoSoftware : public VideoBackend void Video_ClearMessages() override; bool Video_Screenshot(const std::string& filename) override; - int Video_LoadTexture(char *imagedata, u32 width, u32 height); - void Video_DeleteTexture(int texID); - void Video_DrawTexture(int texID, float *coords); - void Video_SetRendering(bool bEnabled) override; void Video_GatherPipeBursted() override; diff --git a/Source/Core/VideoCommon/PixelShaderManager.h b/Source/Core/VideoCommon/PixelShaderManager.h index 149b9cc55b..b3a7e8419b 100644 --- a/Source/Core/VideoCommon/PixelShaderManager.h +++ b/Source/Core/VideoCommon/PixelShaderManager.h @@ -39,7 +39,6 @@ public: static void SetEfbScaleChanged(); static void SetZSlope(float dfdx, float dfdy, float f0); static void SetIndMatrixChanged(int matrixidx); - static void SetTevKSelChanged(int id); static void SetZTextureTypeChanged(); static void SetIndTexScaleChanged(bool high); static void SetTexCoordChanged(u8 texmapid); diff --git a/Source/Core/VideoCommon/VertexLoader_Position.h b/Source/Core/VideoCommon/VertexLoader_Position.h index 65a97e5bde..306a1a8c4a 100644 --- a/Source/Core/VideoCommon/VertexLoader_Position.h +++ b/Source/Core/VideoCommon/VertexLoader_Position.h @@ -6,12 +6,9 @@ #include "VideoCommon/NativeVertexFormat.h" -class VertexLoader_Position { +class VertexLoader_Position +{ public: - - // Init - static void Init(); - // GetSize static unsigned int GetSize(u64 _type, unsigned int _format, unsigned int _elements); diff --git a/Source/Core/VideoCommon/VertexLoader_TextCoord.h b/Source/Core/VideoCommon/VertexLoader_TextCoord.h index 0e3c7bac62..4d8d352058 100644 --- a/Source/Core/VideoCommon/VertexLoader_TextCoord.h +++ b/Source/Core/VideoCommon/VertexLoader_TextCoord.h @@ -9,10 +9,6 @@ class VertexLoader_TextCoord { public: - - // Init - static void Init(); - // GetSize static unsigned int GetSize(u64 _type, unsigned int _format, unsigned int _elements); diff --git a/Source/Core/VideoCommon/VideoBackendBase.h b/Source/Core/VideoCommon/VideoBackendBase.h index 2b3ee0f6b9..f6cd1d12bf 100644 --- a/Source/Core/VideoCommon/VideoBackendBase.h +++ b/Source/Core/VideoCommon/VideoBackendBase.h @@ -160,5 +160,4 @@ public: protected: void InitializeShared(); - void InvalidState(); };