| 164 | } |
| 165 | |
| 166 | void 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 | |
| 179 | void MemViewer::updateViewer() |
| 180 | { |
nothing calls this directly
no test coverage detected