MCPcopy Create free account
hub / github.com/Farama-Foundation/Stable-Retro / start

Method start

src/ui/EmulatorController.cpp:362–375  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

360}
361
362void EmulatorController::start() {
363 m_re.reset();
364 m_screen = QImage();
365 stopMovie();
366 if (!m_initialState.isEmpty()) {
367 m_re.unserialize(static_cast<void*>(m_initialState.data()), m_initialState.size());
368 }
369 m_data->updateRam();
370 m_data->updateRam();
371 m_scen->restart();
372 m_running = true;
373 schedule();
374 emit started();
375}
376
377void EmulatorController::stop() {
378 m_running = false;

Callers 5

setEmulatorMethod · 0.45
startGameMethod · 0.45
dataPathMethod · 0.45
scheduleMethod · 0.45
check_envFunction · 0.45

Calls 8

scheduleFunction · 0.85
unserializeMethod · 0.80
restartMethod · 0.80
resetMethod · 0.45
isEmptyMethod · 0.45
dataMethod · 0.45
sizeMethod · 0.45
updateRamMethod · 0.45

Tested by

no test coverage detected