diff --git a/win32/wsnes9x.cpp b/win32/wsnes9x.cpp index eadc50ba..5abac8fc 100644 --- a/win32/wsnes9x.cpp +++ b/win32/wsnes9x.cpp @@ -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; } }