1
0
mirror of https://github.com/cc65/cc65.git synced 2024-09-27 19:55:09 +00:00

Promoted _auxtype to a struct to gain access to additional fields

While creating files there was no possibility to explicitly set the
time or date.
This is necessary for example while copying files since the original
time and date should be kept.
This commit is contained in:
Mario Patiño 2013-08-03 15:42:16 +02:00
parent d242afdf7e
commit be7c24177c

View File

@ -139,7 +139,12 @@ extern unsigned char _dos_type;
* following variables to determine the file type and the aux type to use.
*/
extern unsigned char _filetype; /* Default 6 */
extern unsigned int _auxtype; /* Default 0 */
extern struct {
unsigned int aux;
unsigned char storage;
unsigned int date;
unsigned int time;
} _auxtype; /* Default 0 */
/* The addresses of the static drivers */
#if !defined(__APPLE2ENH__)