diff --git a/src/widget.cpp b/src/widget.cpp index 2340b43..9da6a2b 100644 --- a/src/widget.cpp +++ b/src/widget.cpp @@ -555,11 +555,11 @@ bool Widget::Checkbox(const char* label, bool* v, const char* hint, bool is_disa bool Widget::CheckboxAddr(const char* label, uint addr, const char* hint) { bool rtn = false; - bool state = patch::Get(addr, false); + bool state = patch::Get(addr); if (Checkbox(label, &state, hint) && addr != NULL) { - patch::Set(addr, state, false); + patch::Set(addr, state); rtn = true; }