mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 05:47:56 -07:00
Merge pull request #1433 from rohit-n/fix-warnings
DolphinWX: Fix a few warnings.
This commit is contained in:
commit
eb22adf24a
@ -342,7 +342,6 @@ void CCodeWindow::StepOut()
|
||||
PowerPC::CoreMode oldMode = PowerPC::GetMode();
|
||||
PowerPC::SetMode(PowerPC::MODE_INTERPRETER);
|
||||
UGeckoInstruction inst = Memory::Read_Instruction(PC);
|
||||
GekkoOPInfo* opinfo = GetOpInfo(inst);
|
||||
while (inst.hex != 0x4e800020 && steps < timeout) // check for blr
|
||||
{
|
||||
if (inst.LK)
|
||||
@ -361,7 +360,6 @@ void CCodeWindow::StepOut()
|
||||
++steps;
|
||||
}
|
||||
inst = Memory::Read_Instruction(PC);
|
||||
opinfo = GetOpInfo(inst);
|
||||
}
|
||||
|
||||
PowerPC::SingleStep();
|
||||
|
@ -60,7 +60,7 @@ static void UpdateWatchAddr(int count, u32 value)
|
||||
|
||||
static void SetWatchName(int count, const std::string value)
|
||||
{
|
||||
if ((count - 1) < PowerPC::watches.GetWatches().size())
|
||||
if ((count - 1) < (int)PowerPC::watches.GetWatches().size())
|
||||
{
|
||||
PowerPC::watches.UpdateName(count - 1, value);
|
||||
}
|
||||
@ -91,7 +91,7 @@ static wxString GetValueByRowCol(int row, int col)
|
||||
default: return wxEmptyString;
|
||||
}
|
||||
}
|
||||
else if (row <= PowerPC::watches.GetWatches().size())
|
||||
else if (row <= (int)PowerPC::watches.GetWatches().size())
|
||||
{
|
||||
if (PowerPC::GetState() != PowerPC::CPU_POWERDOWN)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user