--- np2/pccore.c 2003/11/30 11:20:55 1.22 +++ np2/pccore.c 2003/12/04 06:41:23 1.24 @@ -51,7 +51,7 @@ 1, 0x82, 0, {0x17, 0x04, 0x1f}, {0x0c, 0x0c, 0x02, 0x10, 0x3f, 0x3f}, 1, 80, 0, - {"", ""}, ""}; + {"", ""}, "", ""}; PCCORE pc = { PCBASECLOCK25, 4, @@ -184,6 +184,8 @@ static void sound_term(void) { void pccore_init(void) { + i286_initialize(); + pal_initlcdtable(); pal_makelcdpal(); pal_makeskiptable(); @@ -519,8 +521,8 @@ void pccore_exec(BOOL draw) { resetcnt++; #endif pic_irq(); - if (cpuio.reset_req) { - cpuio.reset_req = 0; + if (i286core.s.resetreq) { + i286core.s.resetreq = 0; I286_CS = 0xf000; CS_BASE = 0xf0000; I286_IP = 0xfff0;