mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
simple profiler added
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@850 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
e05b81fc5b
commit
f6c49d38cb
12 changed files with 258 additions and 8 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue