mirror of
https://github.com/holub/mame
synced 2025-10-05 16:50:57 +03:00
(MESS) gb.c: Prevent array out of bound access when logging SGB packet information (nw)
This commit is contained in:
parent
94c3fa3082
commit
fcb030d94d
@ -359,7 +359,7 @@ WRITE8_MEMBER(gb_state::gb_io2_w)
|
||||
}
|
||||
|
||||
#ifdef MAME_DEBUG
|
||||
static const char *const sgbcmds[26] =
|
||||
static const char *const sgbcmds[32] =
|
||||
{
|
||||
"PAL01 ",
|
||||
"PAL23 ",
|
||||
@ -387,6 +387,12 @@ static const char *const sgbcmds[26] =
|
||||
"MASK_EN ",
|
||||
"OBJ_TRN ",
|
||||
"????????",
|
||||
"????????",
|
||||
"????????",
|
||||
"????????",
|
||||
"????????",
|
||||
"????????",
|
||||
"????????"
|
||||
};
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user