From 492b1ca14a78196029560cc0e0d071009164eb41 Mon Sep 17 00:00:00 2001 From: Toni Wilen Date: Fri, 27 Feb 2015 18:18:13 +0200 Subject: [PATCH] Allocate more space for diagrom name strings. --- debug.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/debug.cpp b/debug.cpp index c6de5568..51fb9714 100644 --- a/debug.cpp +++ b/debug.cpp @@ -3377,7 +3377,7 @@ static void show_exec_lists (TCHAR *t) get_long_debug(list + 16 + 6), rom_vector, get_word_debug(list + 16 + 4), get_byte_debug(list + 16 + 1)); if ((type & 0x10)) { - uae_u8 diagarea[32]; + uae_u8 diagarea[256]; uae_u16 nameoffset; uaecptr rom = addr + rom_vector; uae_u8 config = get_byte_debug(rom); @@ -3392,8 +3392,8 @@ static void show_exec_lists (TCHAR *t) (diagarea[10] << 8) | diagarea[11], (diagarea[12] << 8) | diagarea[13]); if (nameoffset != 0 && nameoffset != 0xffff) { - copyromdata(config, rom, nameoffset, diagarea, 32); - diagarea[31] = 0; + copyromdata(config, rom, nameoffset, diagarea, 256); + diagarea[256] = 0; TCHAR *str = au((char*)diagarea); console_out_f(_T(" '%s'\n"), str); xfree(str); -- 2.47.3