Skip to content
This repository has been archived by the owner on Jul 10, 2023. It is now read-only.

Commit

Permalink
Stats: Further cleanups
Browse files Browse the repository at this point in the history
  • Loading branch information
skmp committed Jun 18, 2019
1 parent cf4dda6 commit fbc2910
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
7 changes: 0 additions & 7 deletions core/hw/pvr/spg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -180,12 +180,6 @@ int spg_line_sched(int tag, int cycl, int jit)

full_rps=(spd_fps+fskip/ts);

#ifdef TARGET_PANDORA
printf("CPU: %4.2f V: %4.2f (%s%s%4.2f) R: %4.2f+%4.2f\n",
spd_cpu*100/200,spd_vbs,
mode,res,fullvbs,
spd_fps,fskip/ts);
#else
char temp[2048];
snprintf(temp, 2048, "%s/%c - %4.2f - %4.2f - V: %4.2f (%.2f, %s%s%4.2f) R: %4.2f+%4.2f VTX: %4.2f%c, MIPS: %.2f",
VER_SHORTNAME,'n',mspdf,spd_cpu*100/200,spd_vbs,
Expand All @@ -195,7 +189,6 @@ int spg_line_sched(int tag, int cycl, int jit)
mips_counter = 0;

os_SetWindowText(temp);
#endif

fskip=0;
last_fps=os_GetSeconds();
Expand Down
5 changes: 3 additions & 2 deletions core/linux-dist/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -145,9 +145,10 @@ void os_SetWindowText(const char * text)
{
#if defined(SUPPORT_X11)
x11_window_set_text(text);
#endif
#if defined(USE_SDL)
#elif defined(USE_SDL)
sdl_window_set_text(text);
#else
printf("Status: %s\n", text);
#endif
}

Expand Down

0 comments on commit fbc2910

Please sign in to comment.