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

Method WriteControl

Source/APU/DPCM.cpp:83–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81}
82
83void CDPCM::WriteControl(uint8_t Value)
84{
85 if ((Value & 1) == 1) {
86 if (m_iDMA_BytesRemaining == 0)
87 Reload();
88 }
89 else {
90 m_iDMA_BytesRemaining = 0;
91 }
92
93 m_bTriggeredIRQ = false;
94}
95
96uint8_t CDPCM::ReadControl() const
97{

Callers 2

WriteMethod · 0.45
WriteMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected