From: notaz Date: Tue, 12 Jan 2010 13:35:52 +0000 (+0000) Subject: 32x: final renderer tweaks; PWM disable kills PWM irqs X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9cfdd2d2e94daaeb85ab7f1675312dec80659ec3;p=libpicofe.git 32x: final renderer tweaks; PWM disable kills PWM irqs git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@857 be3aeb3a-fb24-0410-a615-afba39da0efa --- diff --git a/common/emu.c b/common/emu.c index 786a026..1e83694 100644 --- a/common/emu.c +++ b/common/emu.c @@ -1476,6 +1476,7 @@ void emu_loop(void) } bench_fps += frames_shown; sprintf(fpsbuff, "%02i/%02i/%02i", frames_shown, bench_fps_s, (bf[0]+bf[1]+bf[2]+bf[3])>>2); + printf("%s\n", fpsbuff); #else if (currentConfig.EmuOpt & EOPT_SHOW_FPS) { sprintf(fpsbuff, "%02i/%02i", frames_shown, frames_done); diff --git a/gp2x/emu.c b/gp2x/emu.c index a15ff89..ccb5e87 100644 --- a/gp2x/emu.c +++ b/gp2x/emu.c @@ -30,8 +30,6 @@ #include #include -//#define PFRAMES - #ifdef BENCHMARK #define OSD_FPS_X 220 #else diff --git a/gp2x/port_config.h b/gp2x/port_config.h index 1f4fdd0..c4c1d0f 100644 --- a/gp2x/port_config.h +++ b/gp2x/port_config.h @@ -20,7 +20,8 @@ #define CAN_HANDLE_240_LINES 1 // logging emu events -#define EL_LOGMASK (EL_STATUS|EL_IDLE) // (EL_STATUS|EL_ANOMALY|EL_UIO|EL_SRAMIO|EL_INTS|EL_CDPOLL) // xffff +#define EL_LOGMASK (EL_STATUS) +// (EL_STATUS|EL_ANOMALY|EL_UIO|EL_SRAMIO|EL_INTS|EL_CDPOLL|EL_IDLE) //#define dprintf(f,...) printf("%05i:%03i: " f "\n",Pico.m.frame_count,Pico.m.scanline,##__VA_ARGS__) #define dprintf(x...)