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

Method GetRegs

Source/RegisterDisplay.cpp:339–345  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

337
338template <typename F>
339void CRegisterDisplay::GetRegs(sound_chip_t Chip, F f, int count) {
340 for (int j = 0; j < count; ++j) {
341 auto pState = FTEnv.GetSoundGenerator()->GetRegState(Chip, f(j)); // // //
342 reg[j] = pState->GetValue();
343 update[j] = pState->GetLastUpdatedTime() | (pState->GetNewValueTime() << 4);
344 }
345}

Callers

nothing calls this directly

Calls 5

GetLastUpdatedTimeMethod · 0.80
GetNewValueTimeMethod · 0.80
GetRegStateMethod · 0.45
GetSoundGeneratorMethod · 0.45
GetValueMethod · 0.45

Tested by

no test coverage detected