aboutsummaryrefslogtreecommitdiff
path: root/Source/Gfx.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/Gfx.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/Gfx.c')
-rw-r--r--Source/Gfx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Gfx.c b/Source/Gfx.c
index a55d667..c10e51c 100644
--- a/Source/Gfx.c
+++ b/Source/Gfx.c
@@ -118,8 +118,8 @@ void GfxSwapBuffers(void)
DrawEnv.y = DOUBLE_BUFFERING_SWAP_Y;
}
- GsSetDispEnv_DMA(&DispEnv);
- GsSetDrawEnv_DMA(&DrawEnv);
+ GsSetDispEnv(&DispEnv);
+ GsSetDrawEnv(&DrawEnv);
}
}