mirror of https://github.com/snes9xgit/snes9x.git
win32: remove index from deleted cheats (fixes #288)
This commit is contained in:
parent
c3e22144e1
commit
89b41da263
|
@ -8798,6 +8798,7 @@ INT_PTR CALLBACK DlgCheater(HWND hDlg, UINT msg, WPARAM wParam, LPARAM lParam)
|
|||
if (ct.index[j] == sel_idx)
|
||||
{
|
||||
ct.state[j] = Deleted;
|
||||
ct.index[j] = -1;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue