MCPcopy Create free account
hub / github.com/aldelaro5/dolphin-memory-engine / updateMemoryData

Method updateMemoryData

Source/GUI/MemViewer/MemViewer.cpp:166–177  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

164}
165
166void MemViewer::updateMemoryData()
167{
168 std::swap(m_updatedRawMemoryData, m_lastRawMemoryData);
169 m_validMemory = false;
170 if (DolphinComm::DolphinAccessor::isValidConsoleAddress(m_currentFirstAddress))
171 m_validMemory = DolphinComm::DolphinAccessor::readFromRAM(
172 Common::dolphinAddrToOffset(m_currentFirstAddress,
173 DolphinComm::DolphinAccessor::isARAMAccessible()),
174 m_updatedRawMemoryData, m_numCells, false);
175 if (!m_validMemory)
176 emit memErrorOccured();
177}
178
179void MemViewer::updateViewer()
180{

Callers

nothing calls this directly

Calls 2

readFromRAMFunction · 0.85
dolphinAddrToOffsetFunction · 0.85

Tested by

no test coverage detected