From ad8f43b5a8ce013d122586989526367863489d52 Mon Sep 17 00:00:00 2001 From: Brad Grantham Date: Mon, 6 Aug 2018 00:39:50 -0700 Subject: [PATCH] fix too many initializers error --- dis6502.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dis6502.cpp b/dis6502.cpp index bd03f7f..c26bc13 100644 --- a/dis6502.cpp +++ b/dis6502.cpp @@ -24,7 +24,7 @@ tuple disassemble_6502(int address, const unsigned char* buffer) static const char *padding[3] = {" "," ",""}; // 58 Instructions + Undefined ("???") - static const char *instruction[59] = { + static const char *instruction[] = { // 0 1 2 3 4 5 6 7 8 9 "ADC","AND","ASL","BCC","BCS","BEQ","BIT","BMI","BNE","BPL", // 0 "BRK","BVC","BVS","CLC","CLD","CLI","CLV","CMP","CPX","CPY", // 1