X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=pico%2Fdraw2.c;h=58139d930705390ce90062b32140e966d66d11d4;hb=cff531af94bd9c9c89ae162e80f48ddc26a4e504;hp=b2e6a7106bc005ac338555521d768f9250144059;hpb=1cfc5cc4ce06642b9bc45ca3b9d32793718e9455;p=picodrive.git diff --git a/pico/draw2.c b/pico/draw2.c index b2e6a71..58139d9 100644 --- a/pico/draw2.c +++ b/pico/draw2.c @@ -1,13 +1,10 @@ -// This is part of Pico Library - -// (c) Copyright 2007, Grazvydas "notaz" Ignotas -// Free for non-commercial use. - -// For commercial use, separate licencing terms must be obtained. - - -// this is a frame-based renderer, alternative to Dave's line based which is in Draw.c - +/* + * tile renderer + * (C) notaz, 2006-2008 + * + * This work is licensed under the terms of MAME license. + * See COPYING file in the top-level directory. + */ #include "pico_int.h" @@ -613,11 +610,16 @@ static void DrawDisplayFull(void) PICO_INTERNAL void PicoFrameFull() { + pprof_start(draw); + // prepare cram? if (PicoPrepareCram) PicoPrepareCram(); // Draw screen: BackFillFull(Pico.video.reg[7]); - if (Pico.video.reg[1]&0x40) DrawDisplayFull(); + if (Pico.video.reg[1] & 0x40) + DrawDisplayFull(); + + pprof_end(draw); }