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

Function Soloud_Filehack_fopen

extlibs/soloud/src/core/soloud_file.cpp:294–304  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

292 }
293
294 Soloud_Filehack * Soloud_Filehack_fopen(const char *aFilename, char *aMode)
295 {
296 SoLoud::DiskFile *df = new SoLoud::DiskFile();
297 int res = df->open(aFilename);
298 if (res != SoLoud::SO_NO_ERROR)
299 {
300 delete df;
301 df = 0;
302 }
303 return (Soloud_Filehack*)df;
304 }
305}

Callers

nothing calls this directly

Calls 1

openMethod · 0.45

Tested by

no test coverage detected