| 496 | } |
| 497 | |
| 498 | void ToggleUnofficialPrgRamPresent(HWND hwnd, bool ines20, bool unofficial_check, bool check) { |
| 499 | // The unofficial byte to determine wheter PRGRAM exists |
| 500 | // PRG RAM |
| 501 | bool enable = ines20 || !unofficial_check || check; |
| 502 | // When unofficial 10th byte was not set, the PRG RAM is defaultly enabled |
| 503 | EnableWindow(GetDlgItem(hwnd, IDC_PRGRAM_TEXT), enable); |
| 504 | EnableWindow(GetDlgItem(hwnd, IDC_PRGRAM_COMBO), enable); |
| 505 | } |
| 506 | |
| 507 | INT_PTR CALLBACK HeaderEditorProc(HWND hDlg, UINT uMsg, WPARAM wP, LPARAM lP) |
| 508 | { |
no outgoing calls
no test coverage detected