mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-23 18:59:19 +00:00
Merge pull request #909 from lioncash/void
Get rid of C-style empty function parameter indicators
This commit is contained in:
commit
77aef014a0
20 changed files with 31 additions and 31 deletions
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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();
|
||||
|
||||
|
|
|
@ -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 */
|
||||
{
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue