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

Function DSP_CreateMap2

libs/JSystem/JAudio/System/JASDSPInterface.cpp:470–481  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

468}
469
470u16 DSP_CreateMap2(u32 p1) {
471 u16 ret = 0;
472 JASDsp::TChannel *channel = &JASDsp::CH_BUF[p1 << 4];
473 for (int i = 0; i < 16; i++) {
474 ret <<= 1;
475 if (channel->isActive()) {
476 ret |= 1;
477 }
478 channel++;
479 }
480 return ret;
481}
482
483void DSP_CreateMap() {
484 // UNUSED

Callers 1

DSPReleaseHalt2Function · 0.85

Calls 1

isActiveMethod · 0.45

Tested by

no test coverage detected