mirror of
https://github.com/AppleWin/AppleWin.git
synced 2026-04-26 11:30:11 +00:00
Benchmark dialog: add CPU id; add 'debug' suffix (for debug build)
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user