summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/psx/psxdasm.cpp
diff options
context:
space:
mode:
author smf- <smf-@users.noreply.github.com>2016-09-14 14:12:13 +0100
committer smf- <smf-@users.noreply.github.com>2016-09-14 14:13:06 +0100
commit5a1820288ae99d4e01fae549a560708a5583b1d0 (patch)
tree20fdc70794c600012b8b5854a4cbc9a7cd9897d8 /src/devices/cpu/psx/psxdasm.cpp
parent56b7dabf548455f386f643df29d34fcf32009177 (diff)
fix buffer overflow when debugging. (nw)
Diffstat (limited to 'src/devices/cpu/psx/psxdasm.cpp')
-rw-r--r--src/devices/cpu/psx/psxdasm.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/cpu/psx/psxdasm.cpp b/src/devices/cpu/psx/psxdasm.cpp
index 94d960b94a3..bfa1c546835 100644
--- a/src/devices/cpu/psx/psxdasm.cpp
+++ b/src/devices/cpu/psx/psxdasm.cpp
@@ -124,7 +124,7 @@ static const char *const s_gtelm[] =
static char *effective_address( psxcpu_state *state, UINT32 pc, UINT32 op )
{
- static char s_address[ 20 ];
+ static char s_address[ 30 ];
if( state != nullptr && state->pc() == pc )
{