mirror of https://github.com/snes9xgit/snes9x.git
win32: correctly delete cheats (fixes #290)
This commit is contained in:
parent
fdae8cc72f
commit
0c1976b0ef
|
@ -8982,7 +8982,7 @@ INT_PTR CALLBACK DlgCheater(HWND hDlg, UINT msg, WPARAM wParam, LPARAM lParam)
|
|||
}
|
||||
}
|
||||
|
||||
for(int l = 0; l < ct.state.size(); l++ )
|
||||
for(int l = ct.state.size() - 1; l >= 0; l-- )
|
||||
{
|
||||
if(ct.state[l]==Deleted)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue