aboutsummaryrefslogtreecommitdiff
path: root/Source/Gfx.c
diff options
context:
space:
mode:
authorXaviDCR92 <xavi.dcr@gmail.com>2017-08-11 22:11:43 +0200
committerXaviDCR92 <xavi.dcr@gmail.com>2017-08-11 22:11:43 +0200
commitf97f48ca7cefd3380edc9bdaaebf17c16c5c871b (patch)
tree8fcc3e6cff095ba23ee8f18a9ce4d4c2521436b2 /Source/Gfx.c
parentf17b15bdffe45810eebc7695c10f1d7fc34af014 (diff)
downloadairport-f97f48ca7cefd3380edc9bdaaebf17c16c5c871b.tar.gz
* IMASK is now accessed as volatile variable.
* Other minor changes.
Diffstat (limited to 'Source/Gfx.c')
-rw-r--r--Source/Gfx.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/Gfx.c b/Source/Gfx.c
index a664a12..da1b378 100644
--- a/Source/Gfx.c
+++ b/Source/Gfx.c
@@ -363,9 +363,10 @@ bool GfxSpriteFromFile(char* fname, GsSprite * spr)
gfx_busy = true;
- GsImageFromTim(&gsi,SystemGetBufferAddress() );
+ GsImageFromTim(&gsi, SystemGetBufferAddress() );
- GsSpriteFromImage(spr,&gsi,UPLOAD_IMAGE_FLAG);
+ GsSpriteFromImage(spr, &gsi, UPLOAD_IMAGE_FLAG);
+
gfx_busy = false;
DEBUG_PRINT_VAR(spr->tpage);