/programs/cmm/eolite/include/fs.h |
---|
10,10 → 10,9 |
cur_file = malloc(4096); |
// In the process of recursive descent, memory must be allocated dynamically, because the static memory -> was a bug !!! But unfortunately pass away to sacrifice speed. |
GetDir(#dirbuf, #fcount, way, DIRS_ONLYREAL); |
filename = dirbuf+72; |
for (i=0; i<fcount; i++) |
{ |
filename += 304; |
filename = i*304+dirbuf+72; |
sprintf(cur_file,"%s/%s",way,filename); |
if (TestBit(ESDWORD[filename-40], 4) ) |