| 328 | } |
| 329 | |
| 330 | void UpdateCDLogger() |
| 331 | { |
| 332 | if(!hCDLogger) return; |
| 333 | |
| 334 | char str[50]; |
| 335 | float fcodecount = codecount; |
| 336 | float fdatacount = datacount; |
| 337 | float frendercount = rendercount; |
| 338 | float fvromreadcount = vromreadcount; |
| 339 | float fundefinedcount = undefinedcount; |
| 340 | float fundefinedvromcount = undefinedvromcount; |
| 341 | float fromsize = cdloggerdataSize; |
| 342 | float fvromsize = (cdloggerVideoDataSize != 0) ? cdloggerVideoDataSize : 1; |
| 343 | |
| 344 | sprintf(str,"0x%06x %.2f%%", codecount, (fcodecount / fromsize) * 100); |
| 345 | SetDlgItemText(hCDLogger, LBL_CDLOGGER_CODECOUNT, str); |
| 346 | sprintf(str,"0x%06x %.2f%%", datacount,(fdatacount / fromsize) * 100); |
| 347 | SetDlgItemText(hCDLogger, LBL_CDLOGGER_DATACOUNT, str); |
| 348 | sprintf(str,"0x%06x %.2f%%", undefinedcount, (fundefinedcount / fromsize) * 100); |
| 349 | SetDlgItemText(hCDLogger, LBL_CDLOGGER_UNDEFCOUNT, str); |
| 350 | |
| 351 | sprintf(str,"0x%06x %.2f%%", rendercount, (frendercount / fvromsize) * 100); |
| 352 | SetDlgItemText(hCDLogger, LBL_CDLOGGER_RENDERCOUNT, str); |
| 353 | sprintf(str,"0x%06x %.2f%%", vromreadcount, (fvromreadcount / fvromsize) * 100); |
| 354 | SetDlgItemText(hCDLogger, LBL_CDLOGGER_VROMREADCOUNT, str); |
| 355 | sprintf(str,"0x%06x %.2f%%", undefinedvromcount, (fundefinedvromcount / fvromsize) * 100); |
| 356 | SetDlgItemText(hCDLogger, LBL_CDLOGGER_UNDEFVROMCOUNT, str); |
| 357 | return; |
| 358 | } |
| 359 | |
| 360 | void SaveStrippedROM(int invert) |
| 361 | { |
no outgoing calls
no test coverage detected