win32: giving "clear recent ROMs" a confirm dialog

This commit is contained in:
nitsuja 2009-11-18 05:25:09 +00:00
parent 3751ca21cf
commit 6f83e98aaf
1 changed files with 2 additions and 1 deletions

View File

@ -4047,7 +4047,8 @@ LRESULT CALLBACK WindowProcedure (HWND hwnd, UINT message, WPARAM wParam, LPARAM
else if(wParam == clearid)
{
/* Clear all the recent ROMs */
ClearRecentRoms();
if(IDOK == MessageBox(hwnd, "OK to clear recent ROMs list?","DeSmuME",MB_OKCANCEL))
ClearRecentRoms();
}
if(wParam >= IDD_LUARECENT_RESERVE_START &&