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

Function PauseCDLogging

src/drivers/win/cdlogger.cpp:527–539  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

525}
526
527bool PauseCDLogging()
528{
529 // can't pause while Trace Logger is using
530 if ((logging) && (logging_options & LOG_NEW_INSTRUCTIONS))
531 {
532 MessageBox(hCDLogger, "The Trace Logger is currently using this for some of its features.\nPlease turn the Trace Logger off and try again.","Unable to Pause Code/Data Logger", MB_OK);
533 return false;
534 }
535 FCEUI_SetLoggingCD(0);
536 EnableTracerMenuItems();
537 SetDlgItemText(hCDLogger, BTN_CDLOGGER_START_PAUSE, "Start");
538 return true;
539}
540
541void StartCDLogging()
542{

Callers 3

CDLoggerCallBFunction · 0.70
CDLoggerROMClosedFunction · 0.70
cdl_pausecdloggingFunction · 0.50

Calls 2

FCEUI_SetLoggingCDFunction · 0.85
EnableTracerMenuItemsFunction · 0.85

Tested by

no test coverage detected