MCPcopy Create free account
hub / github.com/TASEmulators/fceux / startStopClicked

Method startStopClicked

src/drivers/Qt/StateRecorderConf.cpp:452–468  ·  view source on GitHub ↗

----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

450}
451//----------------------------------------------------------------------------
452void StateRecorderDialog_t::startStopClicked(void)
453{
454 FCEU_WRAPPER_LOCK();
455 bool isRunning = FCEU_StateRecorderRunning();
456
457 if (isRunning)
458 {
459 FCEU_StateRecorderStop();
460 }
461 else
462 {
463 FCEU_StateRecorderStart();
464 }
465 updateStatusDisplay();
466
467 FCEU_WRAPPER_UNLOCK();
468}
469//----------------------------------------------------------------------------
470void StateRecorderDialog_t::snapFrameModeClicked(void)
471{

Callers

nothing calls this directly

Calls 3

FCEU_StateRecorderStopFunction · 0.85
FCEU_StateRecorderStartFunction · 0.85

Tested by

no test coverage detected