diff --git a/Source/Core/Common/IniFile.h b/Source/Core/Common/IniFile.h index 29a6ddba8cae..3847eeb9e582 100644 --- a/Source/Core/Common/IniFile.h +++ b/Source/Core/Common/IniFile.h @@ -140,8 +140,6 @@ class IniFile 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 a6738e204555..f5b01dd39126 100644 --- a/Source/Core/Core/DSP/DSPEmitter.h +++ b/Source/Core/Core/DSP/DSPEmitter.h @@ -33,7 +33,6 @@ class DSPEmitter : public Gen::X64CodeBlock void CompileDispatcher(); Block CompileStub(); void Compile(u16 start_addr); - void ClearCallFlag(); bool FlagsNeeded(); @@ -62,7 +61,6 @@ class DSPEmitter : public Gen::X64CodeBlock 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 67244c507e53..714aa701fbe8 100644 --- a/Source/Core/Core/FifoPlayer/FifoPlaybackAnalyzer.h +++ b/Source/Core/Core/FifoPlayer/FifoPlaybackAnalyzer.h @@ -34,7 +34,6 @@ class FifoPlaybackAnalyzer 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 9475d93d6c2e..52d9cd0df90f 100644 --- a/Source/Core/Core/HW/CPU.h +++ b/Source/Core/Core/HW/CPU.h @@ -30,9 +30,6 @@ class CCPU // 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 55c4c9ed6f24..5fc1ca904592 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 2391be80dea9..776c1ca7844e 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 @@ class CWII_IPC_HLE_Device_es : public IWII_IPC_HLE_Device 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 bca0730635e8..0fbc2631a1b7 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 @@ class CWII_IPC_HLE_Device_net_ip_top : public IWII_IPC_HLE_Device #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 c516dfac5ac8..cd8c7446b64f 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 @@ class CWII_IPC_HLE_Device_usb_oh1_57e_305 : public IWII_IPC_HLE_Device 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 bb858ac07d76..e9b5bbc3e926 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 @@ class CWII_IPC_HLE_WiiMote 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 @@ class CWII_IPC_HLE_WiiMote 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 56e38ef7b209..c95aeeaf8ec8 100644 --- a/Source/Core/Core/NetPlayClient.h +++ b/Source/Core/Core/NetPlayClient.h @@ -135,8 +135,6 @@ class NetPlayClient : public TraversalClientClient 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 fd8ee933c690..8203a2bd1475 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 @@ class Interpreter : public CPUCoreBase void ClearCache() override; const char *GetName() override; - void Log(); - static bool m_EndBlock; static void unknown_instruction(UGeckoInstruction _inst); @@ -269,7 +266,6 @@ class Interpreter : public CPUCoreBase 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 f536113812e3..3d1aec4c8b95 100644 --- a/Source/Core/Core/PowerPC/JitILCommon/JitILBase.h +++ b/Source/Core/Core/PowerPC/JitILCommon/JitILBase.h @@ -94,13 +94,9 @@ class JitILBase : public Jitx86Base 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 3cf12cf60eeb..85f5268e2492 100644 --- a/Source/Core/Core/PowerPC/SignatureDB.h +++ b/Source/Core/Core/PowerPC/SignatureDB.h @@ -35,7 +35,6 @@ class SignatureDB 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 f6e928e81e0f..c3173a517228 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 69574e202012..bafed76fec7f 100644 --- a/Source/Core/DolphinWX/Debugger/CodeWindow.h +++ b/Source/Core/DolphinWX/Debugger/CodeWindow.h @@ -62,11 +62,9 @@ class CCodeWindow : public wxPanel 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 8715c29f2c41..35d2e2d5b016 100644 --- a/Source/Core/DolphinWX/Debugger/DebuggerPanel.h +++ b/Source/Core/DolphinWX/Debugger/DebuggerPanel.h @@ -74,5 +74,4 @@ class GFXDebuggerPanel : public wxPanel, public GFXDebuggerBase 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 ad7bbe666d58..b54805212205 100644 --- a/Source/Core/DolphinWX/Debugger/JitWindow.h +++ b/Source/Core/DolphinWX/Debugger/JitWindow.h @@ -47,8 +47,5 @@ class CJitWindow : public wxPanel 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 b5cc8d7f4f51..fecb56f7e385 100644 --- a/Source/Core/DolphinWX/Debugger/MemoryWindow.h +++ b/Source/Core/DolphinWX/Debugger/MemoryWindow.h @@ -42,7 +42,6 @@ class CMemoryWindow : public wxPanel 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 07b8fd6b2a93..fd5ce9467227 100644 --- a/Source/Core/DolphinWX/Debugger/WatchWindow.h +++ b/Source/Core/DolphinWX/Debugger/WatchWindow.h @@ -27,8 +27,6 @@ class CWatchWindow : public wxPanel 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 31eeb2745a94..1d3a377b05ac 100644 --- a/Source/Core/DolphinWX/Frame.h +++ b/Source/Core/DolphinWX/Frame.h @@ -300,7 +300,6 @@ class CFrame : public CRenderFrame 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 5a0ec77cb266..fb504d267b36 100644 --- a/Source/Core/DolphinWX/GameListCtrl.h +++ b/Source/Core/DolphinWX/GameListCtrl.h @@ -96,7 +96,6 @@ class CGameListCtrl : public wxListCtrl 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 a25a6c4c7cea..71a0db4b50f0 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 c27910af5ddd..7e6172149f70 100644 --- a/Source/Core/InputCommon/ControllerInterface/Device.h +++ b/Source/Core/InputCommon/ControllerInterface/Device.h @@ -61,8 +61,6 @@ class Device 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 4cd2695afbaa..fa62b0586fe7 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 c7c502995b31..e34ae07f9ad2 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 149b9cc55b3d..b3a7e8419b7d 100644 --- a/Source/Core/VideoCommon/PixelShaderManager.h +++ b/Source/Core/VideoCommon/PixelShaderManager.h @@ -39,7 +39,6 @@ class PixelShaderManager 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 65a97e5bde30..306a1a8c4a1a 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 0e3c7bac62c9..4d8d352058e1 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 2b3ee0f6b9f8..f6cd1d12bffb 100644 --- a/Source/Core/VideoCommon/VideoBackendBase.h +++ b/Source/Core/VideoCommon/VideoBackendBase.h @@ -160,5 +160,4 @@ class VideoBackendHardware : public VideoBackend protected: void InitializeShared(); - void InvalidState(); };