| 230 | } |
| 231 | |
| 232 | static void cheatSearchLessThan (GtkButton * button, cheat_win_t * cw) |
| 233 | { |
| 234 | int checked = |
| 235 | gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON |
| 236 | (cw->lt_chkbox)); |
| 237 | |
| 238 | //printf("Cheat Search LessThan %i!\n", checked); |
| 239 | |
| 240 | if (checked) |
| 241 | { |
| 242 | FCEUI_CheatSearchEnd (FCEU_SEARCH_NEWVAL_LT_KNOWN, 0, |
| 243 | cw->cheat_search_lt_value); |
| 244 | } |
| 245 | else |
| 246 | { |
| 247 | FCEUI_CheatSearchEnd (FCEU_SEARCH_NEWVAL_LT, 0, 0); |
| 248 | } |
| 249 | cw->showCheatSearchResults (); |
| 250 | } |
| 251 | |
| 252 | static void pauseDuringCheatWinActvCB (GtkToggleButton * button, |
| 253 | cheat_win_t * cw) |
nothing calls this directly
no test coverage detected