diff --git a/menu.c b/menu.c index 8f20020..37a6431 100644 --- a/menu.c +++ b/menu.c @@ -132,21 +132,30 @@ void SelectFile(char* pFileExt, unsigned char Options, unsigned char MenuSelect, // for 8 bit cores try to if((user_io_core_type() == CORE_TYPE_8BIT) && chdir) { - + int n; user_io_create_config_name(s); // try to change into subdir named after the core strcpy(s+8, " "); iprintf("Trying to open work dir \"%s\"\n", s); ScanDirectory(SCAN_INIT, "", SCAN_DIR | FIND_DIR); - - { int i; - for(i=0;i