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

Function ResetCDLog

src/drivers/win/cdlogger.cpp:582–596  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

580}
581
582void ResetCDLog()
583{
584 codecount = datacount = rendercount = vromreadcount = 0;
585 undefinedcount = cdloggerdataSize;
586 ZeroMemory(cdloggerdata, cdloggerdataSize);
587 if(cdloggerVideoDataSize != 0) {
588 undefinedvromcount = cdloggerVideoDataSize;
589 ZeroMemory(cdloggervdata, cdloggerVideoDataSize);
590 } else {
591 if (GameInfo->type != GIT_NSF) {
592 undefinedvromcount = 8192;
593 ZeroMemory(cdloggervdata, 8192);
594 }
595 }
596}
597
598void RenameCDLog(const char* newName)
599{

Callers 3

CDLoggerCallBFunction · 0.70
CDLoggerROMChangedFunction · 0.70
cdl_resetcdlogFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected