MCPcopy Create free account
hub / github.com/PCSX2/pcsx2 / start

Method start

pcsx2-qt/QtHost.cpp:115–124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

113EmuThread::~EmuThread() = default;
114
115void EmuThread::start()
116{
117 pxAssertRel(!g_emu_thread, "Emu thread does not exist");
118
119 g_emu_thread = new EmuThread(QThread::currentThread());
120 g_emu_thread->setStackSize(VMManager::EMU_THREAD_STACK_SIZE);
121 g_emu_thread->QThread::start();
122 g_emu_thread->m_started_semaphore.acquire();
123 g_emu_thread->moveToThread(g_emu_thread);
124}
125
126void EmuThread::stop()
127{

Callers 15

ensureHttpReadyMethod · 0.45
processUpdateMethod · 0.45
eventMethod · 0.45
startThreadMethod · 0.45
setCustomBackgroundMethod · 0.45
refreshMethod · 0.45
StartThreadMethod · 0.45
updateFromSettingsMethod · 0.45

Calls 1

acquireMethod · 0.45

Tested by

no test coverage detected