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

Method MemWatchEntry

Source/MemoryWatch/MemWatchEntry.cpp:17–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15#include "../DolphinProcess/DolphinAccessor.h"
16
17MemWatchEntry::MemWatchEntry(QString label, const u32 consoleAddress, const Common::MemType type,
18 const Common::MemBase base, const bool isUnsigned, const size_t length,
19 const bool isBoundToPointer, const bool absoluteBranch)
20 : m_label(std::move(label)), m_consoleAddress(consoleAddress), m_type(type), m_base(base),
21 m_isUnsigned(isUnsigned), m_absoluteBranch(absoluteBranch),
22 m_boundToPointer(isBoundToPointer), m_length(length)
23
24{
25 m_memory = new char[getSizeForType(m_type, m_length)];
26 m_curActualAddress = getActualAddress();
27}
28
29MemWatchEntry::MemWatchEntry()
30{

Callers

nothing calls this directly

Calls 5

getSizeForTypeFunction · 0.85
getMemoryMethod · 0.80
getTypeMethod · 0.45
getLengthMethod · 0.45
getContainerEntryMethod · 0.45

Tested by

no test coverage detected