aboutsummaryrefslogtreecommitdiff
path: root/Source/LoadMenu.c
diff options
context:
space:
mode:
authorXaviDCR92 <xavi.dcr@gmail.com>2017-08-14 14:29:04 +0200
committerXaviDCR92 <xavi.dcr@gmail.com>2017-08-14 14:29:04 +0200
commitdb8bc5f9e386c76531dfe679df022dd05d3dd27a (patch)
tree03ddd1ab050c79fa56e51a1f7c3d4c15bd1685b6 /Source/LoadMenu.c
parentf97f48ca7cefd3380edc9bdaaebf17c16c5c871b (diff)
downloadairport-db8bc5f9e386c76531dfe679df022dd05d3dd27a.tar.gz
+ Documentation about sound sources.
* Sine-like effect used for runways now moved to SystemCalculateSine(). * Bugfix: ptrPlayer->FlightDataPage is now decreased if there aren't enough active aircraft. * On main menu, 2 players option is now disabled if pad 2 is disconnected. * More work on FPS measurement (not working yet). * Number of used SPU voices is now returned on SfxUploadSound().
Diffstat (limited to 'Source/LoadMenu.c')
-rw-r--r--Source/LoadMenu.c24
1 files changed, 20 insertions, 4 deletions
diff --git a/Source/LoadMenu.c b/Source/LoadMenu.c
index eb7735f..d7ea80a 100644
--- a/Source/LoadMenu.c
+++ b/Source/LoadMenu.c
@@ -261,11 +261,29 @@ void ISR_LoadMenuVBlank(void)
uint8_t i;
SystemIncreaseGlobalTimer();
+
+ if(SystemIsBusy() == true)
+ {
+ dprintf("SystemIsBusy...\n");
+ return;
+ }
+
+ if((GfxIsGPUBusy() == true))
+ {
+ dprintf("(GfxIsGPUBusy() == true)\n");
+ return;
+ }
+
+ if(SerialIsBusy() == true)
+ {
+ dprintf("Serialisbusy\n");
+ return;
+ }
- if( (SystemIsBusy() == true) || (GfxIsGPUBusy() == true) || (SerialIsBusy() == true) )
+ /*if( (SystemIsBusy() == true) || (GfxIsGPUBusy() == true) || (SerialIsBusy() == true) )
{
return;
- }
+ }*/
if(startup_flag == true)
{
@@ -456,8 +474,6 @@ void LoadMenuLoadFileList( char* fileList[], void* dest[],
for(fileLoadedCount = 0; fileLoadedCount < szFileList ; fileLoadedCount++)
{
- DEBUG_PRINT_VAR(fileLoadedCount);
-
strCurrentFile = fileList[fileLoadedCount];
if(strCurrentFile == NULL)