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

Method EnableChip

Source/SoundChipSet.cpp:58–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56}
57
58CSoundChipSet CSoundChipSet::EnableChip(sound_chip_t chip, bool enable) const {
59 auto flag = *this;
60 flag.chips_.set(value_cast(chip), enable);
61 return flag;
62}
63
64CSoundChipSet CSoundChipSet::WithChip(sound_chip_t chip) const {
65 return EnableChip(chip, true);

Callers 5

Calls 1

value_castFunction · 0.85

Tested by

no test coverage detected