MCPcopy Create free account
hub / github.com/doldecomp/mkdd / setInst

Method setInst

libs/JSystem/JAudio/System/JASBasicBank.cpp:14–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12}
13
14void JASBasicBank::setInst(int prg_no, JASInst *inst) {
15#line 22
16 JUT_ASSERT(prg_no < INST_MAX);
17 JUT_ASSERT(prg_no >= 0);
18
19 JUT_ASSERT(mInstTable[prg_no] == 0);
20 mInstTable[prg_no] = inst;
21}
22
23JASInst *JASBasicBank::getInst(u32 id) const {
24 if (id >= INST_MAX) {

Callers 1

createBasicBankFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected