mirror of https://github.com/bsnes-emu/bsnes.git
Fix logical bug when changing watchpoint flags
This commit is contained in:
parent
0fbc72f197
commit
e6d4cac00e
|
@ -908,7 +908,7 @@ print_usage:
|
|||
uint16_t index = find_watchpoint(gb, result);
|
||||
if (index < gb->n_watchpoints && gb->watchpoints[index].key == key) {
|
||||
GB_log(gb, "Watchpoint already set at %s\n", debugger_value_to_string(gb, result, true));
|
||||
if (!gb->watchpoints[index].flags != flags) {
|
||||
if (gb->watchpoints[index].flags != flags) {
|
||||
GB_log(gb, "Modified watchpoint type\n");
|
||||
gb->watchpoints[index].flags = flags;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue