MCPcopy Create free account
hub / github.com/aldelaro5/dolphin-memory-engine / init

Method init

Source/DolphinProcess/DolphinAccessor.cpp:52–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50DolphinAccessor::DolphinStatus DolphinAccessor::m_status = DolphinStatus::unHooked;
51
52void DolphinAccessor::init()
53{
54 s_gameID.clear();
55
56 if (m_instance == nullptr)
57 {
58#ifdef __linux__
59 m_instance = new LinuxDolphinProcess();
60#elif _WIN32
61 m_instance = new WindowsDolphinProcess();
62#elif __APPLE__
63 m_instance = new MacDolphinProcess();
64#endif
65 }
66 else
67 {
68 m_instance->reset();
69 }
70}
71
72void DolphinAccessor::free()
73{

Callers

nothing calls this directly

Calls 1

resetMethod · 0.45

Tested by

no test coverage detected