1 #include <libraries/iffparse.h>
2 #include <resources/filesysres.h>
3 #include <proto/exec.h>
9 struct ExecBase
*SysBase
= *(struct ExecBase
**)(4L);
10 struct FileSysResource
*fsr
= OpenResource("FileSystem.resource");
14 struct FileSysEntry
*fse
, *next
;
18 for (fse
= (struct FileSysEntry
*)fsr
->fsr_FileSysEntries
.lh_Head
;
19 fse
->fse_Node
.ln_Succ
; fse
= next
)
21 next
= (struct FileSysEntry
*)fse
->fse_Node
.ln_Succ
;
23 if (fse
->fse_DosType
== MAKE_ID('C', 'D', 'F', 'S'))
25 Remove(&fse
->fse_Node
);