diff options
| author | spicyjpeg <thatspicyjpeg@gmail.com> | 2022-08-12 11:27:55 +0200 |
|---|---|---|
| committer | spicyjpeg <thatspicyjpeg@gmail.com> | 2022-08-12 11:27:55 +0200 |
| commit | edb967394d22420c9aaad529862a670c016cc2c7 (patch) | |
| tree | a18b6062eedda22d2c1aabb852d2c633199cce2c /examples/system/dynlink/library/balls.c | |
| parent | 7abb3b78727c8d4672197951e62b1c5916b3a54a (diff) | |
| download | psn00bsdk-edb967394d22420c9aaad529862a670c016cc2c7.tar.gz | |
Replace ball16c.h headers in examples with .TIM files
Diffstat (limited to 'examples/system/dynlink/library/balls.c')
| -rw-r--r-- | examples/system/dynlink/library/balls.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/system/dynlink/library/balls.c b/examples/system/dynlink/library/balls.c index cfc7f58..c537167 100644 --- a/examples/system/dynlink/library/balls.c +++ b/examples/system/dynlink/library/balls.c @@ -12,7 +12,8 @@ #include <inline_c.h> #include "dll_common.h" -#include "ball16c.h" + +extern const uint32_t ball16c[]; /* Balls data */ @@ -38,7 +39,7 @@ static BALL_TYPE balls[MAX_BALLS]; static TIM_IMAGE ball_tim; void init(CONTEXT *ctx) { - GetTimInfo((const uint32_t *) ball16c, &ball_tim); + GetTimInfo(ball16c, &ball_tim); LoadImage(ball_tim.prect, ball_tim.paddr); if (ball_tim.mode & 8) |
