MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / loadMem

Method loadMem

extlibs/soloud/src/audiosource/openmpt/soloud_openmpt.cpp:84–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82 }
83
84 result Openmpt::loadMem(unsigned char *aMem, unsigned int aLength, bool aCopy, bool aTakeOwnership)
85 {
86 MemoryFile mf;
87 int res = mf.openMem(aMem, aLength, aCopy, aTakeOwnership);
88 if (res != SO_NO_ERROR)
89 return res;
90 return loadFile(&mf);
91 }
92
93 result Openmpt::load(const char *aFilename)
94 {

Callers

nothing calls this directly

Calls 1

openMemMethod · 0.80

Tested by

no test coverage detected