[Projet64] remove typecasting in Debugger - View Memory.cpp
This commit is contained in:
parent
1a09c2baea
commit
1ace31216d
Source/Project64/N64 System/Debugger
|
@ -402,14 +402,14 @@ void CDebugMemoryView::RefreshMemory(bool ResetCompare)
|
|||
|
||||
if (m_DataVAddrr)
|
||||
{
|
||||
if (!g_MMU->LW_VAddr(m_DataStartLoc & ~3, (uint32_t &)word.UW))
|
||||
if (!g_MMU->LW_VAddr(m_DataStartLoc & ~3, word.UW))
|
||||
{
|
||||
ValidData = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (!g_MMU->LW_PAddr(m_DataStartLoc & ~3, (uint32_t &)word.UW))
|
||||
if (!g_MMU->LW_PAddr(m_DataStartLoc & ~3, word.UW))
|
||||
{
|
||||
ValidData = false;
|
||||
}
|
||||
|
@ -438,14 +438,14 @@ void CDebugMemoryView::RefreshMemory(bool ResetCompare)
|
|||
|
||||
if (m_DataVAddrr)
|
||||
{
|
||||
if (!g_MMU->LW_VAddr(Pos, (uint32_t &)word.UW))
|
||||
if (!g_MMU->LW_VAddr(Pos, word.UW))
|
||||
{
|
||||
ValidData = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (!g_MMU->LW_PAddr(Pos, (uint32_t &)word.UW))
|
||||
if (!g_MMU->LW_PAddr(Pos, word.UW))
|
||||
{
|
||||
ValidData = false;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue