diff --git a/src/emulation.awk b/src/emulation.awk index c351d95..ce360e7 100644 --- a/src/emulation.awk +++ b/src/emulation.awk @@ -2,6 +2,8 @@ BEGIN { FS="," print "#ifndef _EMULATION_H_" print "#define _EMULATION_H_" + print "#include \"rk65c02.h\"" + print "#include \"instruction.h\"" } /^OP_/{ @@ -12,7 +14,7 @@ BEGIN { END { for (i in emuls) - printf "void %s(rk65c02emu_t *, instruction_t *)\n",i + printf "void %s(rk65c02emu_t *, instruction_t *);\n",i print "#endif /* _EMULATION_H_ */" }