diff --git a/src/common/cpu.c b/src/common/cpu.c index b2ed0a0c5..064614253 100644 --- a/src/common/cpu.c +++ b/src/common/cpu.c @@ -58,6 +58,7 @@ const char* CPUNames[CPU_COUNT] = { "65816", "sunplus", "sweet16", + "huc6280", }; /* Tables with CPU instruction sets */ @@ -70,6 +71,7 @@ const unsigned CPUIsets[CPU_COUNT] = { CPU_ISET_6502 | CPU_ISET_65SC02 | CPU_ISET_65C02 | CPU_ISET_65816, CPU_ISET_SUNPLUS, CPU_ISET_SWEET16, + CPU_ISET_6502 | CPU_ISET_65SC02 | CPU_ISET_65C02 | CPU_ISET_HUC6280, }; diff --git a/src/common/cpu.h b/src/common/cpu.h index 4217915bb..6a6cd73d7 100644 --- a/src/common/cpu.h +++ b/src/common/cpu.h @@ -55,6 +55,7 @@ typedef enum { CPU_65816, CPU_SUNPLUS, /* Not in the freeware version - sorry */ CPU_SWEET16, + CPU_HUC6280, /* Used in PC engine */ CPU_COUNT /* Number of different CPUs */ } cpu_t; @@ -68,6 +69,7 @@ enum { CPU_ISET_65816 = 1 << CPU_65816, CPU_ISET_SUNPLUS = 1 << CPU_SUNPLUS, CPU_ISET_SWEET16 = 1 << CPU_SWEET16, + CPU_ISET_HUC6280 = 1 << CPU_HUC6280, }; /* CPU used */