Changeset a13d63c in buchla-emu for cpu


Ignore:
Timestamp:
05/28/2018 11:15:02 AM (7 years ago)
Author:
Thomas Lopatic <thomas@…>
Branches:
master
Children:
3153af3
Parents:
e5a7d09
Message:

Properly check for end of table.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpu/m68kmake.c

    re5a7d09 ra13d63c  
    650650
    651651
    652         for(op = g_opcode_input_table;op->name != NULL;op++)
     652        for(op = g_opcode_input_table;op->name[0] != 0;op++)
    653653        {
    654654                if(     strcmp(name, op->name) == 0 &&
     
    666666        opcode_struct* op;
    667667
    668         for(op = g_opcode_input_table;op->name != NULL;op++)
     668        for(op = g_opcode_input_table;op->name[0] != 0;op++)
    669669        {
    670670                if(strcmp(op->name, "illegal") == 0)
Note: See TracChangeset for help on using the changeset viewer.