--- xmil/debugsub.c 2004/08/14 12:16:17 1.11 +++ xmil/debugsub.c 2008/06/02 20:07:30 1.14 @@ -7,7 +7,7 @@ #include "debugsub.h" -// 状態吐き出し げろりんこ +/* 状態吐き出し げろりんこ */ static int filenum = 0; @@ -31,7 +31,7 @@ void debugsub_status(void) { Z80_HL, Z80_IX, Z80_IY, Z80_SP, Z80_AF2, Z80_BC2, Z80_DE2, Z80_HL2, Z80_IFF, - Z80_IM, Z80_I, subcpu.Ex[4][0], + Z80_IM, Z80_I, subcpu.s.vect, crtc.e.fonty, crtc.e.yl, crtc.s.SCRN_BITS); file_write(fh, work, STRLEN(work)); file_close(fh); @@ -40,7 +40,7 @@ void debugsub_status(void) { OEMSPRINTF(path, OEMTEXT("z80ram.%.3d"), filenum); fh = file_create_c(path); if (fh != FILEH_INVALID) { - file_write(fh, mMAIN, 0x10000); + file_write(fh, mainmem, 0x10000); file_close(fh); } OEMSPRINTF(path, OEMTEXT("x1vram1.%.3d"), filenum);