Make gcc happy (and fix a potential issue)

This commit is contained in:
Godzil
2020-02-11 00:00:23 +00:00
parent 667f655d22
commit 6d5658eb68
2 changed files with 4 additions and 2 deletions

View File

@@ -3889,7 +3889,7 @@ void nec_set_reg(int regnum, uint32_t val)
}
}
char *instructionsName[256] =
const char *instructionsName[256] =
{
"ADD ", "ADD ", "ADD ", "ADD ", "ADD ", "ADD ", "PUSH", "POP ", "OR ", "OR ", "OR ", "OR ", "OR ", "OR ", "PUSH", "----",
"ADC ", "ADC ", "ADC ", "ADC ", "ADC ", "ADC ", "PUSH", "POP ", "SBB ", "SBB ", "SBB ", "SBB ", "SBB ", "SBB ", "PUSH", "POP ",