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

Method GetFirstFree

Source/DSampleManager.cpp:73–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71}
72
73unsigned int CDSampleManager::GetFirstFree() const
74{
75 for (size_t i = 0; i < MAX_DSAMPLES; ++i)
76 if (!m_pDSample[i])
77 return i;
78 return -1;
79}
80
81unsigned int CDSampleManager::GetTotalSize() const
82{

Callers 3

ImportInstrumentsMethod · 0.45
InsertSampleMethod · 0.45
AddDSampleMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected