diff --git a/src/burner/win32/sel.cpp b/src/burner/win32/sel.cpp index d0c2d0170..ef43e2dab 100644 --- a/src/burner/win32/sel.cpp +++ b/src/burner/win32/sel.cpp @@ -2372,17 +2372,6 @@ static INT_PTR CALLBACK RomInfoDialogProc(HWND hDlg, UINT Msg, WPARAM wParam, LP switch (BzipOpen(1)) { case 0: gameAv[nRInBurnDrvActive] = 3; - { // if the romset is OK, just say so in the rom info dialog (instead of popping up a window) - HWND hList = GetDlgItem(hDlg, IDC_LIST1); - LV_ITEM LvItem; - memset(&LvItem, 0, sizeof(LvItem)); - LvItem.mask= LVIF_TEXT; - LvItem.cchTextMax = 256; - LvItem.iSubItem = 4; - LvItem.pszText = _T("Romset OK!"); - SendMessage(hList, LVM_SETITEM, 0, (LPARAM)&LvItem); - UpdateWindow(hDlg); - } break; case 2: gameAv[nRInBurnDrvActive] = 1; @@ -2399,6 +2388,18 @@ static INT_PTR CALLBACK RomInfoDialogProc(HWND hDlg, UINT Msg, WPARAM wParam, LP } break; } + if (gameAv[nRInBurnDrvActive] > 0) { + // if the romset is OK, just say so in the rom info dialog (instead of popping up a window) + HWND hList = GetDlgItem(hDlg, IDC_LIST1); + LV_ITEM LvItem; + memset(&LvItem, 0, sizeof(LvItem)); + LvItem.mask= LVIF_TEXT; + LvItem.cchTextMax = 256; + LvItem.iSubItem = 4; + LvItem.pszText = _T("Romset OK!"); + SendMessage(hList, LVM_SETITEM, 0, (LPARAM)&LvItem); + UpdateWindow(hDlg); + } BzipClose(); WriteGameAvb(); return 0;