simple profiler added

git-svn-id: file:///home/notaz/opt/svn/PicoDrive@850 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
notaz 2009-12-31 15:51:40 +00:00
parent e05b81fc5b
commit f6c49d38cb
12 changed files with 258 additions and 8 deletions

View file

@ -1485,6 +1485,8 @@ void PicoDrawSync(int to, int blank_last_line)
int sh = (Pico.video.reg[0xC] & 8) >> 3; // shadow/hilight?
int bgc = Pico.video.reg[7];
pprof_start(draw);
if (rendlines != 240)
offs = 8;
@ -1516,6 +1518,8 @@ void PicoDrawSync(int to, int blank_last_line)
line++;
}
DrawScanline = line;
pprof_end(draw);
}
void PicoDrawSetColorFormat(int which)