MCPcopy Create free account
hub / github.com/HertzDevil/0CC-FamiTracker / Write

Method Write

Source/RegisterState.cpp:62–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60}
61
62bool CRegisterLogger::Write(uint8_t Value)
63{
64 if (m_mRegister.find(m_iPort) == m_mRegister.end())
65 return false;
66
67 m_mRegister.at(m_iPort).Update(Value);
68 if (m_bAutoIncrement)
69 if (m_mWarpValues.find(++m_iPort) != m_mWarpValues.end())
70 m_iPort = m_mWarpValues[m_iPort];
71
72 return true;
73}
74
75CRegisterState *CRegisterLogger::GetRegister(unsigned Address)
76{

Callers

nothing calls this directly

Calls 3

atMethod · 0.80
endMethod · 0.45
UpdateMethod · 0.45

Tested by

no test coverage detected