mirror of
https://github.com/blondie7575/WeeGUI.git
synced 2024-12-13 15:30:04 +00:00
Fixed WGFillRect on row 0 crash
This commit is contained in:
parent
05200b8ec2
commit
3fee6ac066
@ -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
|
||||
|
2
rects.s
2
rects.s
@ -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
|
||||
|
BIN
weegui.dsk
BIN
weegui.dsk
Binary file not shown.
Loading…
Reference in New Issue
Block a user