notaz.gp2x.de
/
picodrive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Should hopefully fix PSP
[picodrive.git]
/
pico
/
draw_amips.s
diff --git
a/pico/draw_amips.s
b/pico/draw_amips.s
index
fa7906e
..
0fa729e
100644
(file)
--- a/
pico/draw_amips.s
+++ b/
pico/draw_amips.s
@@
-117,11
+117,11
@@
amips_clut_loop6:
.macro TileEndCode
xori $t8, $t9, 0xff
beqz $t8, tile11111111 # common case
.macro TileEndCode
xori $t8, $t9, 0xff
beqz $t8, tile11111111 # common case
- lui $v1, %hi(HighCol)
+ lui $v1, %hi(HighCol
Base
)
lui $t8, %hi(TileTable)
ins $t8, $t9, 2, 8
lw $t8, %lo(TileTable)($t8)
lui $t8, %hi(TileTable)
ins $t8, $t9, 2, 8
lw $t8, %lo(TileTable)($t8)
- lw $v1, %lo(HighCol)($v1)
+ lw $v1, %lo(HighCol
Base
)($v1)
jr $t8
addu $a0, $v1
.endm
jr $t8
addu $a0, $v1
.endm
@@
-158,8
+158,8
@@
TileFlip:
SingleColor:
SingleColor:
- lui $t9, %hi(HighCol)
- lw $t9, %lo(HighCol)($t9)
+ lui $t9, %hi(HighCol
Base
)
+ lw $t9, %lo(HighCol
Base
)($t9)
andi $t0, $a1, 0xf
or $t0, $t0, $a2
addu $a0, $t9
andi $t0, $a1, 0xf
or $t0, $t0, $a2
addu $a0, $t9
@@
-178,7
+178,7
@@
TileEmpty:
or $v0, $0, 1 # empty tile
tile11111111:
or $v0, $0, 1 # empty tile
tile11111111:
- lw $v1, %lo(HighCol)($v1)
+ lw $v1, %lo(HighCol
Base
)($v1)
or $t0, $t0, $a2
addu $a0, $v1
sb $t0, 0($a0)
or $t0, $t0, $a2
addu $a0, $v1
sb $t0, 0($a0)