mirror of
https://github.com/libretro/FBNeo.git
synced 2025-02-10 03:24:42 +00:00
parent
105f12fd2a
commit
2e81436526
@ -658,7 +658,7 @@ opcode_struct* find_opcode(char* name, int size, char* spec_proc, char* spec_ea)
|
||||
opcode_struct* op;
|
||||
|
||||
|
||||
for(op = g_opcode_input_table;op->name != NULL;op++)
|
||||
for(op = g_opcode_input_table;op < &g_opcode_input_table[MAX_OPCODE_INPUT_TABLE_LENGTH];op++)
|
||||
{
|
||||
if( strcmp(name, op->name) == 0 &&
|
||||
(size == op->size) &&
|
||||
@ -674,7 +674,7 @@ opcode_struct* find_illegal_opcode(void)
|
||||
{
|
||||
opcode_struct* op;
|
||||
|
||||
for(op = g_opcode_input_table;op->name != NULL;op++)
|
||||
for(op = g_opcode_input_table;op < &g_opcode_input_table[MAX_OPCODE_INPUT_TABLE_LENGTH];op++)
|
||||
{
|
||||
if(strcmp(op->name, "illegal") == 0)
|
||||
return op;
|
||||
|
Loading…
x
Reference in New Issue
Block a user