From 3946cc52d0fcf3b4abacb10599189efd4b449905 Mon Sep 17 00:00:00 2001 From: Aaron Culliney Date: Sun, 15 Sep 2013 09:09:29 -0700 Subject: [PATCH] renamed for clarity --- src/debugger.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/debugger.c b/src/debugger.c index 03c5bc71..e03ecc88 100644 --- a/src/debugger.c +++ b/src/debugger.c @@ -893,13 +893,13 @@ int at_haltpt() { } } - if (cpu65_debug.op) /* only check watchpoints if read/write occured */ + if (cpu65_debug.rw) /* only check watchpoints if read/write occured */ { for (i = 0; i < MAX_BRKPTS; i++) { if (cpu65_debug.ea == watchpoints[i]) { - if (cpu65_debug.op & 2) + if (cpu65_debug.rw & 2) { sprintf(second_buf[num_buffer_lines++], "wrote: %04X: %02X", @@ -911,7 +911,7 @@ int at_haltpt() { "read: %04X", watchpoints[i]); } - cpu65_debug.op = 0; /* only allow WP to trip once */ + cpu65_debug.rw = 0; /* only allow WP to trip once */ } } }