From 82a441e7bd3a5103330c7d5ca7f9df470953e586 Mon Sep 17 00:00:00 2001 From: "John Wilbert M. Villamor" Date: Sat, 17 Aug 2019 14:44:29 +0800 Subject: Added childexec example, added BIOS memory card functions, changed PAD function names, runtime library now 0.13b --- examples/balls/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'examples/balls') 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); -- cgit v1.2.3