Benchmark dialog: add CPU id; add 'debug' suffix (for debug build)

This commit is contained in:
tomcw
2025-09-14 15:40:40 +01:00
parent 99fef84e8b
commit b2da092718
2 changed files with 12 additions and 1 deletions
+5
View File
@@ -380,20 +380,25 @@ void Win32Frame::Benchmark(void)
// DISPLAY THE RESULTS
DisplayLogo();
std::string strText = StrFormat(
"%s\n" /* AppleWin version & build */
"\n"
"CPU: %s\n"
"\n"
"Pure Video FPS:\t%u hires, %u text\n"
"Pure CPU MHz:\t%u.%u%s (video update)\n"
"Pure CPU MHz:\t%u.%u%s (full-speed)\n\n"
"EXPECTED AVERAGE VIDEO GAME\n"
"PERFORMANCE: %u FPS",
GetAppleWinVersionAndBuild().c_str(),
g_InstructionSet.brand,
(unsigned)totalhiresfps,
(unsigned)totaltextfps,
(unsigned)(totalmhz10[0] / 10), (unsigned)(totalmhz10[0] % 10), (LPCTSTR)(IS_APPLE2 ? " (6502)" : ""),
(unsigned)(totalmhz10[1] / 10), (unsigned)(totalmhz10[1] % 10), (LPCTSTR)(IS_APPLE2 ? " (6502)" : ""),
(unsigned)realisticfps);
FrameMessageBox(
strText.c_str(),
"Benchmarks",