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

Function PauseCDLogging

src/drivers/Qt/CodeDataLogger.cpp:908–922  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

906}
907//----------------------------------------------------
908bool PauseCDLogging(void)
909{
910 // can't pause while Trace Logger is using
911 //if ((logging) && (logging_options & LOG_NEW_INSTRUCTIONS))
912 //{
913 // 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);
914 // return false;
915 //}
916 FCEU_WRAPPER_LOCK();
917 FCEUI_SetLoggingCD(0);
918 //EnableTracerMenuItems();
919 //SetDlgItemText(hCDLogger, BTN_CDLOGGER_START_PAUSE, "Start");
920 FCEU_WRAPPER_UNLOCK();
921 return true;
922}
923//----------------------------------------------------
924void CDLoggerROMClosed(void)
925{

Callers 2

CDLoggerROMClosedFunction · 0.70

Calls 1

FCEUI_SetLoggingCDFunction · 0.85

Tested by

no test coverage detected