MCPcopy Create free account
hub / github.com/GrapheneCt/NetStream / InitDebug

Function InitDebug

NetStream/source/debug.cpp:118–134  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

116}
117
118void InitDebug()
119{
120 sceDbgSetMinimumLogLevel(SCE_DBG_LOG_LEVEL_INFO);
121
122#ifdef DEBUG_EXTRA_TTY
123 SCE_PAF_AUTO_TEST_SET_EXTRA_TTY(sceIoOpen("tty0:", SCE_O_WRONLY, 0));
124 SCE_PAF_AUTO_TEST_DUMP("\n\n-----PAF EXTRA TTY DEBUG MODE ON-----\n\n");
125#endif
126
127 common::MainThreadCallList::Register(LeakTestTask, NULL);
128#ifdef DEBUG_JOB_QUEUE
129 common::MainThreadCallList::Register(JobQueueTestTask, NULL);
130#endif
131
132 common::SharedPtr<inputdevice::InputListener> listener(new PadListener());
133 inputdevice::AddInputListener(listener);
134}
135
136void SetCurrentDebugParam(paf::Plugin *plugin, paf::ui::Scene *page)
137{

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected