oops from a long time ago

This commit is contained in:
dinkc64 2014-10-14 07:29:33 +00:00
parent a826c0f002
commit ef3f9dc60e
1 changed files with 2 additions and 1 deletions

View File

@ -372,7 +372,8 @@ static INT_PTR CALLBACK WaitProc(HWND hDlg, UINT Msg, WPARAM wParam, LPARAM) //
case WM_INITDIALOG:
hRomsDlg = hDlg;
nOldSelect = nBurnDrvActive;
memset(gameAv, 0, sizeof(gameAv));
//memset(gameAv, 0, sizeof(gameAv)); // sizeof(gameAv) is 4!! -dink
memset(gameAv, 0, nBurnDrvCount);
SendDlgItemMessage(hDlg, IDC_WAIT_PROG, PBM_SETRANGE, 0, MAKELPARAM(0, nBurnDrvCount));
SendDlgItemMessage(hDlg, IDC_WAIT_PROG, PBM_SETSTEP, (WPARAM)1, 0);