diff --git a/src/drivers/win/debugger.cpp b/src/drivers/win/debugger.cpp index 5e425c82..4ffc1c73 100644 --- a/src/drivers/win/debugger.cpp +++ b/src/drivers/win/debugger.cpp @@ -2752,7 +2752,7 @@ void UpdatePatcher(HWND hwndDlg){ EnableWindow(GetDlgItem(hwndDlg,IDC_ROMPATCHER_PATCH_DATA),FALSE); EnableWindow(GetDlgItem(hwndDlg,IDC_ROMPATCHER_BTN_APPLY),FALSE); } - if(GameInfo->type != GIT_CART)EnableWindow(GetDlgItem(hwndDlg,IDC_ROMPATCHER_BTN_SAVE),FALSE); + if((GameInfo->type != GIT_CART) && (GameInfo->type != GIT_VSUNI))EnableWindow(GetDlgItem(hwndDlg,IDC_ROMPATCHER_BTN_SAVE),FALSE); else EnableWindow(GetDlgItem(hwndDlg,IDC_ROMPATCHER_BTN_SAVE),TRUE); } diff --git a/src/ines.cpp b/src/ines.cpp index 8b2daf42..8c7cf2d3 100644 --- a/src/ines.cpp +++ b/src/ines.cpp @@ -1105,7 +1105,7 @@ int iNesSaveAs(const char* name) //caitsith2: done. iNesSave() now gets filename and calls iNesSaveAs with that filename. FILE *fp; - if (GameInfo->type != GIT_CART) return 0; + if ((GameInfo->type != GIT_CART) && (GameInfo->type != GIT_VSUNI)) return 0; if (GameInterface != iNESGI) return 0; fp = fopen(name, "wb");