diff options
author | Aaron Giles <aaron@aarongiles.com> | 2008-02-03 05:12:25 +0000 |
---|---|---|
committer | Aaron Giles <aaron@aarongiles.com> | 2008-02-03 05:12:25 +0000 |
commit | c314de71fa6a7f57708336ddd77baa601e441298 (patch) | |
tree | 0475e83d3ca5953ab685917f3f59f513c874bcb3 | |
parent | 716431f20eec0c2fc3c9fc9d8cb12820ee8c2dcb (diff) |
Fix compile error.
-rw-r--r-- | src/mame/machine/fddebug.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mame/machine/fddebug.c b/src/mame/machine/fddebug.c index 960ef9221ad..b2fa5d93807 100644 --- a/src/mame/machine/fddebug.c +++ b/src/mame/machine/fddebug.c @@ -2203,9 +2203,11 @@ static void build_optable(void) /* make sure we match the disassembler */ { + char dummybuffer[40]; UINT8 instrbuffer[10]; instrbuffer[0] = (opnum | eabits) >> 8; instrbuffer[1] = (opnum | eabits); + dummybuffer[0] = 0; assert(length == (m68k_disassemble_raw(dummybuffer, 0, instrbuffer, instrbuffer, M68K_CPU_TYPE_68000) & 0xff) / 2); } |