Get rid of C-style empty function parameter indicators

This commit is contained in:
Lioncash 2014-08-30 12:41:21 -04:00
parent af79d28cfa
commit 1d706b2311
20 changed files with 31 additions and 31 deletions

View File

@ -31,7 +31,7 @@ public:
private:
#ifdef _WIN32
HWND GetHwnd(void);
HWND GetHwnd();
HANDLE hConsole;
#endif
bool bUseColor;

View File

@ -24,7 +24,7 @@ CDump::CDump(const std::string& filename) :
}
}
CDump::~CDump(void)
CDump::~CDump()
{
if (m_pData != nullptr)
{
@ -33,7 +33,7 @@ CDump::~CDump(void)
}
}
int CDump::GetNumberOfSteps(void)
int CDump::GetNumberOfSteps()
{
return (int)(m_size / STRUCTUR_SIZE);
}

View File

@ -617,7 +617,7 @@ void Initialize(bool wait)
}
// called on emulation shutdown
void Stop(void)
void Stop()
{
for (auto& wiimote : g_wiimotes)
if (wiimote && wiimote->IsConnected())
@ -625,7 +625,7 @@ void Stop(void)
}
// called when the dolphin app exits
void Shutdown(void)
void Shutdown()
{
g_wiimote_scanner.StopScanning();

View File

@ -239,7 +239,7 @@ public:
}
}
u32 CalculateNwc24ConfigChecksum(void)
u32 CalculateNwc24ConfigChecksum()
{
u32* ptr = (u32*)&config;
u32 sum = 0;
@ -250,7 +250,7 @@ public:
return sum;
}
s32 CheckNwc24Config(void)
s32 CheckNwc24Config()
{
if (Magic() != 0x57634366) /* 'WcCf' magic */
{

View File

@ -85,7 +85,7 @@ static void Trace(UGeckoInstruction& instCode)
DEBUG_LOG(POWERPC, "INTER PC: %08x SRR0: %08x SRR1: %08x CRval: %016lx FPSCR: %08x MSR: %08x LR: %08x %s %08x %s", PC, SRR0, SRR1, (unsigned long) PowerPC::ppcState.cr_val[0], PowerPC::ppcState.fpscr, PowerPC::ppcState.msr, PowerPC::ppcState.spr[8], regs.c_str(), instCode.hex, ppc_inst.c_str());
}
int Interpreter::SingleStepInner(void)
int Interpreter::SingleStepInner()
{
static UGeckoInstruction instCode;
u32 function = HLE::GetFunctionIndex(PC);

View File

@ -99,7 +99,7 @@ public:
virtual ~CNANDContentLoader();
bool IsValid() const override { return m_Valid; }
void RemoveTitle(void) const override;
void RemoveTitle() const override;
u64 GetTitleID() const override { return m_TitleID; }
u16 GetIosVersion() const override { return m_IosVersion; }
u32 GetBootIndex() const override { return m_BootIndex; }

View File

@ -30,9 +30,9 @@ public:
memset(m_CachedRegHasChanged, 0, sizeof(m_CachedRegHasChanged));
}
int GetNumberCols(void) override {return 2;}
int GetNumberRows(void) override {return 32;}
bool IsEmptyCell(int row, int col) override {return false;}
int GetNumberCols() override { return 2; }
int GetNumberRows() override { return 32; }
bool IsEmptyCell(int row, int col) override { return false; }
wxString GetValue(int row, int col) override;
void SetValue(int row, int col, const wxString &) override;
wxGridCellAttr *GetAttr(int, int, wxGridCellAttr::wxAttrKind) override;

View File

@ -45,11 +45,11 @@ public:
memset(m_CachedSpecialRegHasChanged, 0, sizeof(m_CachedSpecialRegHasChanged));
memset(m_CachedFRegHasChanged, 0, sizeof(m_CachedFRegHasChanged));
}
int GetNumberCols(void) override {return 5;}
int GetNumberRows(void) override {return 32 + NUM_SPECIALS;}
bool IsEmptyCell(int row, int col) override {return row > 31 && col > 2;}
wxString GetValue(int row, int col) override;
void SetValue(int row, int col, const wxString &) override;
int GetNumberCols() override { return 5; }
int GetNumberRows() override { return 32 + NUM_SPECIALS; }
bool IsEmptyCell(int row, int col) override { return row > 31 && col > 2; }
wxString GetValue(int row, int col) override;
void SetValue(int row, int col, const wxString &) override;
wxGridCellAttr *GetAttr(int, int, wxGridCellAttr::wxAttrKind) override;
void UpdateCachedRegs();

View File

@ -19,7 +19,7 @@ private:
public:
void Initialize(Display *dpy);
Window CreateXWindow(Window parent, XVisualInfo *vi);
void DestroyXWindow(void);
void DestroyXWindow();
Display *dpy;
Window win;

View File

@ -62,7 +62,7 @@ void HotkeyConfigDialog::SaveButtonMapping(int Id, int Key, int Modkey)
SConfig::GetInstance().m_LocalCoreStartupParameter.iHotkeyModifier[Id] = Modkey;
}
void HotkeyConfigDialog::EndGetButtons(void)
void HotkeyConfigDialog::EndGetButtons()
{
wxTheApp->Unbind(wxEVT_KEY_DOWN, &HotkeyConfigDialog::OnKeyDown, this);
m_ButtonMappingTimer->Stop();
@ -194,7 +194,7 @@ void HotkeyConfigDialog::OnButtonClick(wxCommandEvent& event)
#define HOTKEY_NUM_COLUMNS 2
void HotkeyConfigDialog::CreateHotkeyGUIControls(void)
void HotkeyConfigDialog::CreateHotkeyGUIControls()
{
const wxString pageNames[] =
{

View File

@ -49,12 +49,12 @@ class HotkeyConfigDialog : public wxDialog
void OnButtonClick(wxCommandEvent& event);
void OnKeyDown(wxKeyEvent& event);
void SaveButtonMapping(int Id, int Key, int Modkey);
void CreateHotkeyGUIControls(void);
void CreateHotkeyGUIControls();
void SetButtonText(int id, const wxString &keystr, const wxString &modkeystr = wxString());
void DoGetButtons(int id);
void EndGetButtons(void);
void EndGetButtons();
int GetButtonWaitingID, GetButtonWaitingTimer, g_Pressed, g_Modkey;
};

View File

@ -8,7 +8,7 @@ class RasterFont
{
public:
RasterFont();
~RasterFont(void);
~RasterFont();
static int debug;
// and the happy helper functions

View File

@ -356,7 +356,7 @@ void VideoSoftware::Video_GatherPipeBursted()
SWCommandProcessor::GatherPipeBursted();
}
bool VideoSoftware::Video_IsPossibleWaitingSetDrawDone(void)
bool VideoSoftware::Video_IsPossibleWaitingSetDrawDone()
{
return false;
}

View File

@ -60,7 +60,7 @@ void RegisterMMIO(MMIO::Mapping* mmio, u32 base);
// gfx backend support
void SetToken(const u16 _token, const int _bSetTokenAcknowledge);
void SetFinish(void);
void SetFinish();
UPEAlphaReadReg GetAlphaReadMode();
// Bounding box functionality. Paper Mario (both) are a couple of the few games that use it.

View File

@ -110,7 +110,7 @@ struct Normal_Index_Indices3
}
void VertexLoader_Normal::Init(void)
void VertexLoader_Normal::Init()
{
m_Table[NRM_DIRECT] [NRM_INDICES1][NRM_NBT] [FORMAT_UBYTE] = Normal_Direct<u8, 1>();
m_Table[NRM_DIRECT] [NRM_INDICES1][NRM_NBT] [FORMAT_BYTE] = Normal_Direct<s8, 1>();

View File

@ -11,7 +11,7 @@ class VertexLoader_Normal
public:
// Init
static void Init(void);
static void Init();
// GetSize
static unsigned int GetSize(unsigned int _type, unsigned int _format,

View File

@ -165,7 +165,7 @@ static int tableReadPositionVertexSize[4][8][2] = {
};
void VertexLoader_Position::Init(void)
void VertexLoader_Position::Init()
{
#if _M_SSE >= 0x301

View File

@ -8,7 +8,7 @@ class VertexLoader_Position {
public:
// Init
static void Init(void);
static void Init();
// GetSize
static unsigned int GetSize(unsigned int _type, unsigned int _format, unsigned int _elements);

View File

@ -173,7 +173,7 @@ static int tableReadTexCoordVertexSize[4][8][2] = {
},
};
void VertexLoader_TextCoord::Init(void)
void VertexLoader_TextCoord::Init()
{
#if _M_SSE >= 0x301

View File

@ -11,7 +11,7 @@ class VertexLoader_TextCoord
public:
// Init
static void Init(void);
static void Init();
// GetSize
static unsigned int GetSize(unsigned int _type, unsigned int _format, unsigned int _elements);