aboutsummaryrefslogtreecommitdiff
path: root/Source/Aircraft.c
diff options
context:
space:
mode:
authorXaviDCR92 <xavi.dcr@gmail.com>2017-06-08 07:23:25 +0200
committerXaviDCR92 <xavi.dcr@gmail.com>2017-06-08 07:23:25 +0200
commit022c72fe369da0045f9ca7dd4b8d4d7dd169c87c (patch)
tree35f4916e57925c35aadcebbd0a37701bc55ed45f /Source/Aircraft.c
parentfaf31975556ceb5be674eb89b0ec5b2d2836e42a (diff)
downloadairport-022c72fe369da0045f9ca7dd4b8d4d7dd169c87c.tar.gz
* (Bugfix) MemCard: MEMCARD_MAXIMUM_SECTOR changed from 512 (8 << MEMCARD_SECTORS_PER_BLOCK_BITSHIFT) to 1024 (16 << MEMCARD_SECTORS_PER_BLOCK_BITSHIFT).
* DrawEnv and DispEnv buffers are no longer swapped using DMA commands, but GPIO. This ensures stability under real hw. TODO: how to fix in 2-player mode? * Provisionally removed semi-transparency for aircraft shadow sprite.
Diffstat (limited to 'Source/Aircraft.c')
-rw-r--r--Source/Aircraft.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Aircraft.c b/Source/Aircraft.c
index b43fd0d..97ee1be 100644
--- a/Source/Aircraft.c
+++ b/Source/Aircraft.c
@@ -325,7 +325,7 @@ void AircraftRender(TYPE_PLAYER* ptrPlayer)
AircraftSpr.g = 0;
AircraftSpr.b = 0;
- AircraftSpr.attribute |= ENABLE_TRANS | TRANS_MODE(0);
+ //AircraftSpr.attribute |= ENABLE_TRANS | TRANS_MODE(0);
GfxSortSprite(&AircraftSpr);
}
@@ -336,7 +336,7 @@ void AircraftRender(TYPE_PLAYER* ptrPlayer)
AircraftSpr.x = cartPos.x - (AircraftSpr.w >> 1);
AircraftSpr.y = cartPos.y - (AircraftSpr.h >> 1);
- AircraftSpr.attribute &= ~(ENABLE_TRANS | TRANS_MODE(0));
+ //AircraftSpr.attribute &= ~(ENABLE_TRANS | TRANS_MODE(0));
CameraApplyCoordinatesToSprite(ptrPlayer, &AircraftSpr);