MCPcopy Create free account
hub / github.com/REGoth-project/REGoth / loadDAT

Method loadDAT

src/logic/ScriptEngine.cpp:33–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31}
32
33bool ScriptEngine::loadDAT(const uint8_t* pDatFile, size_t numBytes)
34{
35 delete m_pVM;
36
37 m_pVM = new Daedalus::DaedalusVM(pDatFile, numBytes);
38
39 return initVMWithLoadedDAT();
40}
41
42
43bool ScriptEngine::loadDAT(const std::string& file)

Callers 1

initMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected