aboutsummaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
Diffstat (limited to 'opcodes')
-rw-r--r--opcodes/z80-dis.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/opcodes/z80-dis.c b/opcodes/z80-dis.c
index 0e7a312..f62861c 100644
--- a/opcodes/z80-dis.c
+++ b/opcodes/z80-dis.c
@@ -95,6 +95,8 @@ fetch_data (struct buffer *buf, disassemble_info * info, int n)
n, info);
if (r == 0)
buf->n_fetch += n;
+ else
+ info->memory_error_func (r, buf->base + buf->n_fetch, info);
return !r;
}