aboutsummaryrefslogtreecommitdiff
path: root/Source/LoadMenu.c
diff options
context:
space:
mode:
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)