Merge pull request #2977 from lioncash/unused

General: Remove unimplemented function prototypes
This commit is contained in:
comex 2015-09-05 22:20:47 -04:00
commit 96e42dff52
29 changed files with 2 additions and 71 deletions

View File

@ -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;
};

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);
};
// **********************************************************************************

View File

@ -75,8 +75,6 @@ public:
void DoState(PointerWrap &p) override;
void NetPlay_WiimoteUpdate(int _number);
private:
enum USBIOCtl
{

View File

@ -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);
};

View File

@ -135,8 +135,6 @@ private:
void Disconnect();
bool Connect();
void OnTraversalDisconnect(int fail);
PlayerId m_pid;
std::map<PlayerId, Player> m_players;
std::string m_host_spec;

View File

@ -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);

View File

@ -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);

View File

@ -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();

View File

@ -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);

View File

@ -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);

View File

@ -74,5 +74,4 @@ private:
void OnClearTextureCacheButton(wxCommandEvent& event);
void OnClearVertexShaderCacheButton(wxCommandEvent& event);
void OnClearPixelShaderCacheButton(wxCommandEvent& event);
void OnCountEnter(wxCommandEvent& event);
};

View File

@ -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);
};

View File

@ -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);

View File

@ -27,8 +27,6 @@ public:
void LoadAll();
private:
void CreateGUIControls();
wxAuiManager m_mgr;
// Owned by wx. Deleted implicitly upon destruction.

View File

@ -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);

View File

@ -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);

View File

@ -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:

View File

@ -61,8 +61,6 @@ public:
virtual ControlState GetState() const = 0;
bool ShouldHaveInput();
ControlState GetGatedState()
{
if (InputGateOn())

View File

@ -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);

View File

@ -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;

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -160,5 +160,4 @@ public:
protected:
void InitializeShared();
void InvalidState();
};