Hold the maximum X and Y coordinate in variables instead of calculating them
when needed. The variables make signed compares in the line clipper easier. git-svn-id: svn://svn.cc65.org/cc65/trunk@4450 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -8,13 +8,12 @@
|
||||
|
||||
.include "tgi-kernel.inc"
|
||||
|
||||
.import decax1
|
||||
|
||||
|
||||
.proc _tgi_getmaxx
|
||||
|
||||
jsr _tgi_getxres
|
||||
jmp decax1
|
||||
lda _tgi_xmax
|
||||
ldx _tgi_xmax+1
|
||||
rts
|
||||
|
||||
.endproc
|
||||
|
||||
|
||||
Reference in New Issue
Block a user