summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Olivier Galibert <galibert@pobox.com>2017-03-26 14:06:51 +0200
committer Olivier Galibert <galibert@pobox.com>2017-03-26 14:10:31 +0200
commitfa2c6e5829e4cc588ca61fa2f7d58224468243a2 (patch)
tree1304f89e768c2b4dfada3fb38913a5a91560378f
parent3047b6266522f3f4dcbc4da5043923519bc42dd8 (diff)
express: More robust memory access operator parsing (nw)
-rw-r--r--src/emu/debug/express.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/debug/express.cpp b/src/emu/debug/express.cpp
index 41d75825a6a..951a1899869 100644
--- a/src/emu/debug/express.cpp
+++ b/src/emu/debug/express.cpp
@@ -874,7 +874,7 @@ void parsed_expression::parse_symbol_or_number(parse_token &token, const char *&
}
// check for memory @ operators
- if (string[0] == '@' || string[0] == '!')
+ if ((string[0] == '@' || string[0] == '!') && (buffer.back() == 'b' || buffer.back() == 'w' || buffer.back() == 'd' || buffer.back() == 'q'))
{
bool with_se = string[0] == '!';
string += 1;