From c43347edb7d422b902360a44a7bd0b0a20f941f2 Mon Sep 17 00:00:00 2001 From: XaviDCR92 Date: Sun, 4 Jun 2017 14:00:56 +0200 Subject: * Bugfix: index for selectedAircraft is recalculated when a new aircraft is spawned. * Initial implementation for minimum spawn time in parkings. * GfxIsGPUBusy() check added for MemCard. --- Source/MemCard.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Source/MemCard.c') diff --git a/Source/MemCard.c b/Source/MemCard.c index 5050957..f55facf 100644 --- a/Source/MemCard.c +++ b/Source/MemCard.c @@ -708,6 +708,8 @@ bool MemCardReadSector(TYPE_BLOCK_DATA * ptrBlockData, int sector) " 0 and 511 are allowed!\n", sector); return false; } + + while(GfxIsGPUBusy() == true); result = McReadSector(ptrBlockData->Slot, sector, DataBuffer); -- cgit v1.2.3