diff --git a/plat/cpm/emu/emulator.c b/plat/cpm/emu/emulator.c index eb192dbf8..09d58e18b 100644 --- a/plat/cpm/emu/emulator.c +++ b/plat/cpm/emu/emulator.c @@ -77,7 +77,7 @@ static void cmd_register(void) if (w1 && w2) { - Z80_REG_T reg = -1; + int reg = -1; if (strcmp(w1, "sp") == 0) reg = SP; else if (strcmp(w1, "pc") == 0) diff --git a/plat/cpm/emu/globals.h b/plat/cpm/emu/globals.h index 613b49061..6979f31aa 100644 --- a/plat/cpm/emu/globals.h +++ b/plat/cpm/emu/globals.h @@ -3,7 +3,6 @@ #include -extern Z80EX_CONTEXT* z80; extern uint8_t ram[0x10000]; extern void emulator_init(void);