AltairZ80: Fixed NUM_CHIP_TYPE warning and added missing declaration

This commit is contained in:
Peter Schorn 2016-05-23 22:06:06 +02:00 committed by Mark Pizzolato
parent 3d7c4dc510
commit 9d2b7ee968
2 changed files with 4 additions and 0 deletions

View file

@ -164,6 +164,7 @@ int32 dsk12(const int32 port, const int32 io, const int32 data);
static t_stat dsk_boot(int32 unitno, DEVICE *dptr);
static t_stat dsk_reset(DEVICE *dptr);
static t_stat dsk_attach(UNIT *uptr, CONST char *cptr);
static const char* dsk_description(DEVICE *dptr);
extern UNIT cpu_unit;
extern uint32 PCX;

View file

@ -525,6 +525,9 @@ t_stat fprint_sym(FILE *of, t_addr addr, t_value *val, UNIT *uptr, int32 sw) {
r = m68k_disassemble(disasm_result, addr, M68K_CPU_TYPE_68000);
break;
default:
return SCPE_IERR;
}
fprintf(of, "%s", disasm_result);
return 1 - r;