mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-10 16:19:28 +01:00
jit64: quiet variable init warnings
This commit is contained in:
parent
e6c15e993b
commit
a97d079138
@ -30,7 +30,7 @@ void RegCache::Start()
|
|||||||
xreg.free = true;
|
xreg.free = true;
|
||||||
xreg.dirty = false;
|
xreg.dirty = false;
|
||||||
xreg.locked = false;
|
xreg.locked = false;
|
||||||
xreg.ppcReg = INVALID_REG;
|
xreg.ppcReg = static_cast<size_t>(INVALID_REG);
|
||||||
}
|
}
|
||||||
for (size_t i = 0; i < m_regs.size(); i++)
|
for (size_t i = 0; i < m_regs.size(); i++)
|
||||||
{
|
{
|
||||||
@ -63,7 +63,7 @@ void RegCache::DiscardRegContentsIfCached(size_t preg)
|
|||||||
X64Reg xr = m_regs[preg].location.GetSimpleReg();
|
X64Reg xr = m_regs[preg].location.GetSimpleReg();
|
||||||
m_xregs[xr].free = true;
|
m_xregs[xr].free = true;
|
||||||
m_xregs[xr].dirty = false;
|
m_xregs[xr].dirty = false;
|
||||||
m_xregs[xr].ppcReg = INVALID_REG;
|
m_xregs[xr].ppcReg = static_cast<size_t>(INVALID_REG);
|
||||||
m_regs[preg].away = false;
|
m_regs[preg].away = false;
|
||||||
m_regs[preg].location = GetDefaultLocation(preg);
|
m_regs[preg].location = GetDefaultLocation(preg);
|
||||||
}
|
}
|
||||||
@ -216,7 +216,7 @@ void RegCache::StoreFromRegister(size_t i, FlushMode mode)
|
|||||||
if (mode == FlushMode::All)
|
if (mode == FlushMode::All)
|
||||||
{
|
{
|
||||||
m_xregs[xr].free = true;
|
m_xregs[xr].free = true;
|
||||||
m_xregs[xr].ppcReg = INVALID_REG;
|
m_xregs[xr].ppcReg = static_cast<size_t>(INVALID_REG);
|
||||||
m_xregs[xr].dirty = false;
|
m_xregs[xr].dirty = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user