Fixed WGFillRect on row 0 crash

This commit is contained in:
Quinn Dunki 2015-02-01 16:36:54 -08:00
parent 05200b8ec2
commit 3fee6ac066
3 changed files with 3 additions and 2 deletions

View File

@ -8,8 +8,7 @@ Known issues
To Do:
------
- Support carriage returns in &print
- Clicking on scroll arrows in basicdemo messes up title rendering
- Write sample code
- Update side effects in assembly API
- Support for frameless views

View File

@ -95,6 +95,7 @@ WGFillRect_horzLoopEvenAlignedOddWidth:
WGFillRect_horzLoopEvenAlignedEvenWidth:
plx ; Prepare for next row
dex
bmi WGFillRect_done ; If we were at zero, we'll wrap dangerously
cpx PARAM1
bcs WGFillRect_vertLoop
bra WGFillRect_done
@ -142,6 +143,7 @@ WGFillRect_horzLoopOddAlignedOddWidth:
WGFillRect_horzLoopOddAlignedEvenWidth:
plx ; Prepare for next row
dex
bmi WGFillRect_done ; If we were at zero, we'll wrap dangerously
cpx PARAM1
bcc WGFillRect_done
jmp WGFillRect_vertLoop

Binary file not shown.