mirror of
https://github.com/holub/mame
synced 2025-06-02 19:06:43 +03:00
fix buffer overflow when debugging. (nw)
This commit is contained in:
parent
56b7dabf54
commit
5a1820288a
@ -124,7 +124,7 @@ static const char *const s_gtelm[] =
|
|||||||
|
|
||||||
static char *effective_address( psxcpu_state *state, UINT32 pc, UINT32 op )
|
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 )
|
if( state != nullptr && state->pc() == pc )
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user