hw->data = calloc(1, sizeof(struct spc2000_));
if (hw->data == NULL) {
- hw->vm->msg_cb_(MSG_ERROR, "%s():%s", "calloc", strerror(errno));
+ hw->vm->msg_cb_(DCPU16_MSG_ERROR, "%s():%s", "calloc", strerror(errno));
return -1;
}
return 0;
|| vm->reg[DCPU16_REG_C] != 0)
break;
/* trigger */
- vm->msg_cb_(MSG_INFO, "spc2000 triggered\n");
+ vm->msg_cb_(DCPU16_MSG_INFO, "spc2000 triggered\n");
break;
case 1: /* SET_UNIT_TO_SKIP */