Fixed redraw issue
This commit is contained in:
parent
144624f89e
commit
c21c2d95aa
|
@ -14,7 +14,7 @@ WITH REGARD TO THIS SOFTWARE.
|
|||
|
||||
#include "uxn.h"
|
||||
|
||||
#define HOR 64
|
||||
#define HOR 48
|
||||
#define VER 32
|
||||
#define PAD 2
|
||||
#define RES (HOR * VER * 16)
|
||||
|
|
|
@ -335,10 +335,10 @@ RTS
|
|||
,no-linebreak ~j LDR #0a NEQ ~j LDR #0d NEQ #0101 EQU2 JMP? POP2
|
||||
( fill clear )
|
||||
@fill-clear
|
||||
( incr ) ~dev/sprite.x #0008 ADD2 =dev/sprite.x
|
||||
,font =dev/sprite.addr
|
||||
#01 =dev/sprite.color
|
||||
,fill-clear ~dev/sprite.x ~dev/screen.width #0010 SUB2 LTH2 JMP? POP2
|
||||
( incr ) ~dev/sprite.x #0008 ADD2 =dev/sprite.x
|
||||
,fill-clear ~dev/sprite.x ~dev/screen.width #0008 SUB2 LTH2 JMP? POP2
|
||||
#0010 =dev/sprite.x
|
||||
( incr ) ~dev/sprite.y #0008 ADD2 =dev/sprite.y
|
||||
@no-linebreak
|
||||
|
@ -499,4 +499,4 @@ RTS
|
|||
|FF60 ;dev/file File
|
||||
|
||||
|FFF0 .RESET .FRAME .ERROR ( vectors )
|
||||
|FFF8 [ 0a4f 0a4f 0a4f ] ( palette )
|
||||
|FFF8 [ 40ff c09f a09f ] ( palette )
|
||||
|
|
Loading…
Reference in New Issue