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

Method reset

Source/MemoryScanner/MemoryScanner.cpp:376–388  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

374}
375
376void MemScanner::reset()
377{
378 m_resultsConsoleAddr.clear();
379 m_resultsConsoleAddr.shrink_to_fit();
380 m_wasUnknownInitialValue = false;
381 delete[] m_scanRAMCache;
382 m_scanRAMCache = nullptr;
383 m_resultCount = 0;
384 m_scanStarted = false;
385 std::stack<MemScannerUndoAction> empty;
386 std::swap(m_UndoStack, empty);
387 m_undoCount = 0;
388}
389
390inline bool MemScanner::isHitNextScan(const MemScanner::ScanFilter filter,
391 const char* memoryToCompare1, const char* memoryToCompare2,

Callers 2

onResetScanMethod · 0.45
~SConfigMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected