| 1415 | } |
| 1416 | |
| 1417 | void GetUIGGInfo(HWND hwndDlg, uint32* a, uint8* v, int* c) |
| 1418 | { |
| 1419 | char buf[16]; |
| 1420 | GetDlgItemText(hwndDlg, IDC_GAME_GENIE_ADDR, buf, 5); |
| 1421 | *a = StrToU16(buf); |
| 1422 | GetDlgItemText(hwndDlg, IDC_GAME_GENIE_VAL, buf, 3); |
| 1423 | *v = StrToU8(buf); |
| 1424 | GetDlgItemText(hwndDlg, IDC_GAME_GENIE_COMP, buf, 3); |
| 1425 | *c = (buf[0] == 0 ? -1 : StrToU8(buf)); |
| 1426 | } |
| 1427 | |
| 1428 | void DisableAllCheats() |
| 1429 | { |
no test coverage detected