Moved most of the file type detection from cbm_dir.c into a new function
called _cbm_filetype(). Added an assembler include file with the file type definitions from cbm.h. Added a first implementation of readdir() for the CBMs. git-svn-id: svn://svn.cc65.org/cc65/trunk@5669 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -20,7 +20,7 @@ DIR* __fastcall__ opendir (const char*)
|
||||
/* Setup file name and offset */
|
||||
d.name[0] = '$';
|
||||
d.name[1] = '\0';
|
||||
d.offs = 0;
|
||||
d.off = 0;
|
||||
|
||||
/* Open the directory on disk for reading */
|
||||
d.fd = open (d.name, O_RDONLY);
|
||||
|
||||
Reference in New Issue
Block a user