win32: fix buffer overflow in savestate description generation
This commit is contained in:
parent
5e78d6a888
commit
ca1ad0bfba
|
@ -1360,7 +1360,7 @@ void ResetSaveStateTimes()
|
|||
void LoadSaveStateInfo()
|
||||
{
|
||||
scan_savestates();
|
||||
char ntxt[22];
|
||||
char ntxt[128];
|
||||
for(int i = 0; i < NB_STATES; i++)
|
||||
{
|
||||
if(savestates[i].exists)
|
||||
|
|
Loading…
Reference in New Issue