aboutsummaryrefslogtreecommitdiff
path: root/examples/balls
diff options
context:
space:
mode:
authorJohn Wilbert M. Villamor <lameguy64@gmail.com>2019-08-17 14:44:29 +0800
committerJohn Wilbert M. Villamor <lameguy64@gmail.com>2019-08-17 14:44:29 +0800
commit82a441e7bd3a5103330c7d5ca7f9df470953e586 (patch)
treea8a933aa9f03767c6cebc5e11380c37931eae5cd /examples/balls
parente7f9e08937f9d556793c1e0ff0a08856a3897b41 (diff)
downloadpsn00bsdk-82a441e7bd3a5103330c7d5ca7f9df470953e586.tar.gz
Added childexec example, added BIOS memory card functions, changed PAD function names, runtime library now 0.13b
Diffstat (limited to 'examples/balls')
-rw-r--r--examples/balls/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/balls/main.c b/examples/balls/main.c
index 4f3ab14..89c8063 100644
--- a/examples/balls/main.c
+++ b/examples/balls/main.c
@@ -200,7 +200,8 @@ int main(int argc, const char* argv[]) {
/* Sort a TPage primitive so the sprites will draw pixels from */
/* the correct texture page in VRAM */
tpri = (DR_TPAGE*)nextpri;
- setDrawTPage( tpri, 0, 0, tim.prect->x, tim.prect->y );
+ setDrawTPage( tpri, 0, 0,
+ getTPage(0, 0, tim.prect->x, tim.prect->y ));
addPrim( ot[db]+(OT_LEN-1), tpri );
nextpri += sizeof(DR_TPAGE);