X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=eradicate;a=blobdiff_plain;f=src%2Fdos%2Fgfx.c;fp=src%2Fdos%2Fgfx.c;h=671cd8a376f403ab576fa557c54c6eb572c81ebd;hp=cde439e67e938663f392460a83c5ea179672db57;hb=713d33d0c193f880d665dc6f4e62eac9549b747e;hpb=ca4cf08917d2c51d7a98c4cea6dae71c0ae7225d diff --git a/src/dos/gfx.c b/src/dos/gfx.c index cde439e..671cd8a 100644 --- a/src/dos/gfx.c +++ b/src/dos/gfx.c @@ -236,6 +236,7 @@ void *page_flip(int vsync) static void blit_frame_lfb(void *pixels, int vsync) { + dbg_fps(pixels); if(vsync) wait_vsync(); memcpy(vpgaddr[frontidx], pixels, pgsize); } @@ -246,6 +247,8 @@ static void blit_frame_banked(void *pixels, int vsync) unsigned int pending; unsigned char *pptr = pixels; + dbg_fps(pixels); + if(vsync) wait_vsync(); /* assume initial window offset at 0 */