diff options
| author | iCatButler <i.am.catbutler@gmail.com> | 2016-03-26 10:07:46 +0000 |
|---|---|---|
| committer | iCatButler <i.am.catbutler@gmail.com> | 2016-03-26 10:07:46 +0000 |
| commit | b1f5a6ce4d7b9156910078300bfdf4ff0fd8ccf0 (patch) | |
| tree | 4c58fda9c7fe906b59c482165adcd041c4ab37ac /plugins/peopsxgl/draw.c | |
| parent | 7767ea4acbae995cd8e6302bdb7c97e89748dfd8 (diff) | |
| download | pcsxr-b1f5a6ce4d7b9156910078300bfdf4ff0fd8ccf0.tar.gz | |
- Move pgxp_gpu source files into correct folder.
- Trace 16 bit reads and writes, invalidate register or memory (fixes UI glitches)
Diffstat (limited to 'plugins/peopsxgl/draw.c')
| -rwxr-xr-x | plugins/peopsxgl/draw.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/peopsxgl/draw.c b/plugins/peopsxgl/draw.c index c3fed1cf..922145f0 100755 --- a/plugins/peopsxgl/draw.c +++ b/plugins/peopsxgl/draw.c @@ -1005,8 +1005,6 @@ BOOL offsetline(unsigned int* addr) else py= 0.0f; } } - - PGXP_GetVertices(addr, vertex); vertex[0].x=(short)((float)x0-px); vertex[3].x=(short)((float)x0+py); @@ -1020,6 +1018,9 @@ BOOL offsetline(unsigned int* addr) vertex[1].y=(short)((float)y1+px); vertex[2].y=(short)((float)y1+py); + + PGXP_GetVertices(addr, vertex); + if(vertex[0].x==vertex[3].x && // ortho rect? done vertex[1].x==vertex[2].x && vertex[0].y==vertex[1].y && |
