diff options
| author | XaviDCR92 <xavi.dcr@gmail.com> | 2017-06-04 14:00:56 +0200 |
|---|---|---|
| committer | XaviDCR92 <xavi.dcr@gmail.com> | 2017-06-04 14:00:56 +0200 |
| commit | c43347edb7d422b902360a44a7bd0b0a20f941f2 (patch) | |
| tree | b035366227e938bbeded6c807235ea3f45d6ea9b /Source/MemCard.c | |
| parent | 219d958538aecfec4dace7f3b31dcfa193667b27 (diff) | |
| download | airport-c43347edb7d422b902360a44a7bd0b0a20f941f2.tar.gz | |
* 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.
Diffstat (limited to 'Source/MemCard.c')
| -rw-r--r-- | Source/MemCard.c | 2 |
1 files changed, 2 insertions, 0 deletions
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);
|
