Fix for global variable SFCPU read overflow error when running with clang/gcc address sanitizer. The code that writes the save state to disk expects the parameter description to at least be 4 bytes.
This commit is contained in:
parent
14c215208e
commit
3fed0331cc
|
@ -110,7 +110,7 @@ SFORMAT SFCPU[]={
|
|||
{ &X.Y, 1, "Y\0\0"},
|
||||
{ &X.S, 1, "S\0\0"},
|
||||
{ &X.P, 1, "P\0\0"},
|
||||
{ &X.DB, 1, "DB"},
|
||||
{ &X.DB, 1, "DB\0"},
|
||||
{ &RAM, 0x800 | FCEUSTATE_INDIRECT, "RAM", },
|
||||
{ 0 }
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue