diff --git a/src/ca65/expr.c b/src/ca65/expr.c index 7b352e334..616564b16 100644 --- a/src/ca65/expr.c +++ b/src/ca65/expr.c @@ -38,6 +38,7 @@ /* common */ #include "check.h" +#include "cpu.h" #include "exprdefs.h" #include "print.h" #include "tgttrans.h" @@ -634,7 +635,7 @@ static ExprNode* Factor (void) break; case TOK_CPU: - N = GenLiteralExpr (GetCPU()); + N = GenLiteralExpr (CPUIsets[CPU]); NextTok (); break;