From bd82bf6a7fe9b7644dadb579f1fe4b72c184e9eb Mon Sep 17 00:00:00 2001 From: jede Date: Sun, 29 Jan 2017 22:59:53 +0100 Subject: [PATCH] Fix --- src/ca65/main.c | 2 +- src/cc65/main.c | 4 ++-- src/common/target.c | 8 ++++---- src/common/target.h | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/ca65/main.c b/src/ca65/main.c index cbd514bc3..ff321d87d 100644 --- a/src/ca65/main.c +++ b/src/ca65/main.c @@ -631,7 +631,7 @@ static void OptVersion (const char* Opt attribute((unused)), const char* Arg attribute((unused))) /* Print the assembler version */ { - fprintf(stderr, "%s V%s\n", ProgName, GetVersionAsString()); + fprintf(stderr, "%s V%s\n", ProgName, GetVersionAsString ()); exit(EXIT_SUCCESS); } diff --git a/src/cc65/main.c b/src/cc65/main.c index 8fc774f87..e4e5ce81f 100644 --- a/src/cc65/main.c +++ b/src/cc65/main.c @@ -751,8 +751,8 @@ static void OptVersion (const char* Opt attribute((unused)), const char* Arg attribute((unused))) /* Print the compiler version */ { - fprintf(stderr, "%s V%s\n", ProgName, GetVersionAsString()); - exit(EXIT_SUCCESS); + fprintf (stderr, "%s V%s\n", ProgName, GetVersionAsString ()); + exit (EXIT_SUCCESS); } diff --git a/src/common/target.c b/src/common/target.c index 31274d48a..dfbe4d354 100644 --- a/src/common/target.c +++ b/src/common/target.c @@ -152,6 +152,7 @@ static const TargetEntry TargetMap[] = { { "c128", TGT_C128 }, { "c16", TGT_C16 }, { "c64", TGT_C64 }, + { "c65", TGT_C65 }, { "cbm510", TGT_CBM510 }, { "cbm610", TGT_CBM610 }, { "gamate", TGT_GAMATE }, @@ -200,8 +201,8 @@ static const TargetProperties PropertyTable[TGT_COUNT] = { { "geos-apple", CPU_65C02, BINFMT_BINARY, CTNone }, { "lunix", CPU_6502, BINFMT_O65, CTNone }, { "atmos", CPU_6502, BINFMT_BINARY, CTNone }, - { "telemon24", CPU_6502, BINFMT_BINARY, CTNone }, - { "telemon30", CPU_6502, BINFMT_BINARY, CTNone }, + { "telemon24", CPU_6502, BINFMT_BINARY, CTNone }, + { "telemon30", CPU_6502, BINFMT_BINARY, CTNone }, { "nes", CPU_6502, BINFMT_BINARY, CTNone }, { "supervision", CPU_65SC02, BINFMT_BINARY, CTNone }, { "lynx", CPU_65SC02, BINFMT_BINARY, CTNone }, @@ -209,8 +210,7 @@ static const TargetProperties PropertyTable[TGT_COUNT] = { { "sim65c02", CPU_65C02, BINFMT_BINARY, CTNone }, { "pce", CPU_HUC6280, BINFMT_BINARY, CTNone }, { "gamate", CPU_6502, BINFMT_BINARY, CTNone }, - { "c65", CPU_4510, BINFMT_BINARY, CTPET }, - + { "c65", CPU_4510, BINFMT_BINARY, CTPET }, }; /* Target system */ diff --git a/src/common/target.h b/src/common/target.h index 93bcfe20d..2b0a4e196 100644 --- a/src/common/target.h +++ b/src/common/target.h @@ -82,7 +82,7 @@ typedef enum { TGT_SIM65C02, TGT_PCENGINE, TGT_GAMATE, - TGT_C65, + TGT_C65, TGT_COUNT /* Number of target systems */ } target_t; -- 2.39.5