Debugger and hex editor fix for Vs. System ROMs
This commit is contained in:
parent
c9cdca11c4
commit
d1368c8213
|
@ -2752,7 +2752,7 @@ void UpdatePatcher(HWND hwndDlg){
|
||||||
EnableWindow(GetDlgItem(hwndDlg,IDC_ROMPATCHER_PATCH_DATA),FALSE);
|
EnableWindow(GetDlgItem(hwndDlg,IDC_ROMPATCHER_PATCH_DATA),FALSE);
|
||||||
EnableWindow(GetDlgItem(hwndDlg,IDC_ROMPATCHER_BTN_APPLY),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);
|
else EnableWindow(GetDlgItem(hwndDlg,IDC_ROMPATCHER_BTN_SAVE),TRUE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1105,7 +1105,7 @@ int iNesSaveAs(const char* name)
|
||||||
//caitsith2: done. iNesSave() now gets filename and calls iNesSaveAs with that filename.
|
//caitsith2: done. iNesSave() now gets filename and calls iNesSaveAs with that filename.
|
||||||
FILE *fp;
|
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;
|
if (GameInterface != iNESGI) return 0;
|
||||||
|
|
||||||
fp = fopen(name, "wb");
|
fp = fopen(name, "wb");
|
||||||
|
|
Loading…
Reference in New Issue