summaryrefslogtreecommitdiffstatshomepage
path: root/src/frontend/mame/cheat.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* cheatopt: add the global cheat enable toggle to the menu hap2024-02-111-1/+1
|
* frontend: Use util::core_file instead of emu_file where applicable AJR2022-01-301-5/+5
|
* Debugger expression and memory access overhaul AJR2020-05-251-2/+0
| | | | | | | | | | | | | - Memory references in expressions no longer default to the console's visible CPU if no device name was specified, except when entered through the console itself. Expressions in view windows now use the context of the currently selected device instead. - The pcatmem debug command and similar qt mouseover function now produce an error message if the initial address translation fails. Related internal changes (nw) - The debugger_cpu class no longer interprets memory accesses. The existing routines have been moved into symbol_table (which used to invoke them as callbacks), and reimplemented in most other places. Thecode duplication is a bit messy, but could be potentially improved in the future with new utility classes. - The cheat engine no longer needs to hook into the debugger_cpu class or instantiate a dummy instance of it. - The inclusion of debug/express.h within emu.h has been undone. Some debugging structures now need unique_ptr to wrap the resulting incomplete classes; hopefully the performance impact of this is negligible. Another direct consequence is that the breakpoint, watchpoint and registerpoint classes are no longer inside device_debug and have their own source file. - The breakpoint list is now a std::multimap, using the addresses as keys to hopefully expedite lookup. - The visible CPU pointer has been removed from the debugger_cpu class, being now considered a property of the console instead. - Many minor bits of code have been simplified.
* Make expressions octal for applicable address spaces in disassembly view AJR2020-04-131-2/+2
| | | | | | | | | | 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
* (nw) Cleanup on the way: Vas Crabb2020-03-101-8/+8
| | | | | | | | | | * Add doxygen comments for bit manipulation functions * Add an overload of BIT that works like the AArch64 UBFX instruction * Kill off some of the silly concatenating overloads for emu_file::open * Make searchpath acually useful for devices This is a checkpoint - I'm planning to improve ROM loading behaviour at least a little.
* (nw) misc cleanup: start replacing auto_alloc_* with smart pointers, get Vas Crabb2017-12-011-2/+2
| | | | | rid of reference constants in the debugger in favour of capturing the value in the bind/lambda (less ugly casting)
* convenience macro for enum bitwise operators (nw) Vas Crabb2017-07-221-1/+1
|
* Don't crash on bad cheat expressions, also make the code look more like ↵ Vas Crabb2017-02-021-65/+97
| | | | 'enterprise-grade' C++
* XML refactoring: Vas Crabb2016-12-111-9/+9
| | | | | | | * move stuff to namespace util::xml * scope down some enums * split config load/save delegate types * make config load take const so it can't mangle data
* more xmlfile cleanup (nw) Vas Crabb2016-11-171-6/+8
| | | | | | | | * an empty tag and a self-closing tag are semantically equivalent, so std::string can be used saving some manual allocation * a valid tag can't have an empty name, so that can be std::string too * still expose empty strings as nullptr to API users * scope down the int_format enum * # is not £ ffs
* Turn xmlfile API into something that looks like C++ Vas Crabb2016-11-171-5/+5
| | | | It's still a bit quirky but it's far better encapsulated before, and it plays nice with const (nw)
* NOTICE (TYPE NAME CONSOLIDATION) Miodrag Milanovic2016-10-221-19/+19
| | | | | Use standard uint64_t, uint32_t, uint16_t or uint8_t instead of UINT64, UINT32, UINT16 or UINT8 also use standard int64_t, int32_t, int16_t or int8_t instead of INT64, INT32, INT16 or INT8
* Cleanup and version bumpmame0175 Miodrag Milanovic2016-06-291-9/+9
|
* Use ui::text_layout::text_layout and ui::text_layout::word_wrapping enums Nathan Woods2016-06-181-8/+9
|
* Major refactoring of debugger core [Ryan Holtz] therealmogminer@gmail.com2016-06-081-2/+6
| | | | | | | | * Eliminate globals/file statics * Remove lots of stuff from global scope * Use std::function for custom command registration * Eliminate some trampolines * Build fixes from Vas Crabb and balr0g
* using std::vector<std::unique_ptr<xxx>> instead of simple_list<xxx> in cheat ↵ Miodrag Milanovic2016-06-021-31/+10
| | | | engine (nw)
* Relieve UI menus and such from having to constantly fetch UI object from ↵ AJR2016-04-261-2/+2
| | | | global state (nw)
* Split UI and frontend part from core [Miodrag Milanovic] Miodrag Milanovic2016-04-231-0/+337