diff options
author | Scott Stone <tafoid@users.noreply.github.com> | 2014-07-21 23:58:30 +0000 |
---|---|---|
committer | Scott Stone <tafoid@users.noreply.github.com> | 2014-07-21 23:58:30 +0000 |
commit | f5d2eb5c6c9204153a28586f0fdc05811dfbbdde (patch) | |
tree | 696616cb5d8d7d37f91350ed1d2b8cd243eb508d /src/emu/debug/express.c | |
parent | 1d339b9a9fff6cce7ef27e1ea8db5a6fbbdfafcb (diff) |
Fix uninitialized auto; should fix instances where a game with cheats active using multiple expressions in one action crashes at start. [m4st4]
Diffstat (limited to 'src/emu/debug/express.c')
-rw-r--r-- | src/emu/debug/express.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/emu/debug/express.c b/src/emu/debug/express.c index 77ed9bb89c1..02f1e5ff456 100644 --- a/src/emu/debug/express.c +++ b/src/emu/debug/express.c @@ -559,7 +559,8 @@ void symbol_table::set_memory_value(const char *name, expression_space space, UI //------------------------------------------------- parsed_expression::parsed_expression(symbol_table *symtable, const char *expression, UINT64 *result) - : m_symtable(symtable) + : m_symtable(symtable), + m_token_stack_ptr(0) { // if we got an expression parse it if (expression != NULL) |