From 86e7693df08201e82d06e8f23a77cc5982e3dcd3 Mon Sep 17 00:00:00 2001 From: AJR Date: Mon, 13 Apr 2020 19:57:13 -0400 Subject: Make expressions octal for applicable address spaces in disassembly view debug/express.cpp, debugcpu.cpp: General cleanup (nw) - Change default base from hardcoded macro to dynamic parameter for parsed_expression - Change symbol table parameters and variables to references or std::reference_wrapper - Remove the (unused) ability to construct a parsed_expression without a symbol table - Eliminate symbol_table &table and void *memory_param arguments from callbacks (superfluous now that std::function can bind everything necessary) - Eliminate globalref pointer from symbol_table - Add explicitly defaulted move constructor and move assignment operator --- src/frontend/mame/cheat.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/frontend/mame/cheat.h') diff --git a/src/frontend/mame/cheat.h b/src/frontend/mame/cheat.h index b6faaa85e80..b81225faf15 100644 --- a/src/frontend/mame/cheat.h +++ b/src/frontend/mame/cheat.h @@ -327,8 +327,8 @@ public: // global helpers static std::string quote_expression(parsed_expression const &expression); - static uint64_t execute_frombcd(symbol_table &table, int params, uint64_t const *param); - static uint64_t execute_tobcd(symbol_table &table, int params, uint64_t const *param); + static uint64_t execute_frombcd(int params, uint64_t const *param); + static uint64_t execute_tobcd(int params, uint64_t const *param); private: // internal helpers -- cgit v1.2.3