mirror of
https://github.com/holub/mame
synced 2025-04-18 22:49:58 +03:00
fixed clang compile of m68kmake(nw)
This commit is contained in:
parent
42622cfe8e
commit
5f3e6c8bdc
1
.gitignore
vendored
1
.gitignore
vendored
@ -30,4 +30,5 @@ regtests/jedutil/output
|
||||
/src/devices/cpu/m68000/m68kops.cpp
|
||||
/src/devices/cpu/m68000/m68kops.h
|
||||
/src/devices/cpu/m68000/m68kmake.*
|
||||
/src/devices/cpu/m68000/m68kmake
|
||||
!/src/devices/cpu/m68000/m68kmake.cpp
|
@ -670,7 +670,7 @@ static opcode_struct* find_opcode(char* name, int size, char* spec_proc, char* s
|
||||
opcode_struct* op;
|
||||
|
||||
|
||||
for(op = g_opcode_input_table;op->name != nullptr;op++)
|
||||
for(op = g_opcode_input_table;op->name[0] != 0;op++)
|
||||
{
|
||||
if( strcmp(name, op->name) == 0 &&
|
||||
(size == op->size) &&
|
||||
|
Loading…
Reference in New Issue
Block a user