Set ProDOS file type when compiled for Apple II.

This commit is contained in:
2021-05-26 00:54:38 +01:00
parent 94e938fbe2
commit 4ee64df89d

View File

@@ -36,10 +36,19 @@ Copyright (C) 2011-2021 Natalia Portillo
#define DISK_NAMES_TAIL ","
#endif
#ifdef __APPLE2__
#include <apple2_filetype.h>
#endif
int main(int argc, char** argv)
{
int c;
// Set ProDOS filetype to TEXT
#ifdef __APPLE2__
_filetype = PRODOS_T_TXT;
#endif
printf("Aaru Filesystem Tester (Setter)\n%s\n", AARU_FSTESTER_VERSION);
printf("%s\n", AARU_COPYRIGHT);
printf("Running in %s (%s)\n", OS_NAME, OS_ARCH);