diff options
| author | XaviDCR92 <xavi.dcr@gmail.com> | 2018-02-07 18:15:07 +0100 |
|---|---|---|
| committer | XaviDCR92 <xavi.dcr@gmail.com> | 2018-02-07 18:15:07 +0100 |
| commit | 81d9242514b4e8e3fe97cf7063a15680f610bf2f (patch) | |
| tree | da455367502d946bd8b7b04377debef9686fc2bc /Source/Game.c | |
| parent | 6364d64cbca986c61b3bea76167610198fbe99bb (diff) | |
| download | airport-81d9242514b4e8e3fe97cf7063a15680f610bf2f.tar.gz | |
* I think GameGraphics() can be executed as long as GPU has received all DMA blocks. Remove if something goes wrong.
Diffstat (limited to 'Source/Game.c')
| -rw-r--r-- | Source/Game.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Source/Game.c b/Source/Game.c index f3fd11a..0263933 100644 --- a/Source/Game.c +++ b/Source/Game.c @@ -1062,7 +1062,7 @@ void GameGraphics(void) SystemAcknowledgeFrame(); - while ( (SystemRefreshNeeded() == false) || (GfxIsGPUBusy() != false) ); + while ( (SystemRefreshNeeded() == false) || (GfxReadyForDMATransfer() == false) ); if (TwoPlayersActive != false) { @@ -1075,8 +1075,6 @@ void GameGraphics(void) GfxIncreaseGlobalLuminance(1); } - while (GsIsDrawing()); - for (i = 0; i < MAX_PLAYERS ; i++) { TYPE_PLAYER* ptrPlayer = &PlayerData[i]; |
