MCPcopy Create free account
hub / github.com/TASEmulators/fceux / cheatSearchLessThan

Function cheatSearchLessThan

src/drivers/sdl/cheat.cpp:232–250  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

230}
231
232static 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
252static void pauseDuringCheatWinActvCB (GtkToggleButton * button,
253 cheat_win_t * cw)

Callers

nothing calls this directly

Calls 2

FCEUI_CheatSearchEndFunction · 0.85

Tested by

no test coverage detected