diff options
| author | 2020-08-30 23:39:18 -0400 | |
|---|---|---|
| committer | 2020-08-31 00:00:03 -0400 | |
| commit | 46071c487e97cf1faa014a853b032be91fd4b1e2 (patch) | |
| tree | 36d0fdd8a93da1f1897a5c6341d2eab019a7dac4 /src/emu/inputdev.cpp | |
| parent | 71bcb539fec9d90572e3170f751746465fd976b4 (diff) | |
device_state_interface overhaul
- device_state_entry::value and device_state_entry::set_value now do everything except the register lookup, allowing them to be made public. The debugger expression engine now uses these.
- device_state_entry::dvalue and device_state_entry::set_dvalue have also been made public, theoretically permitting outside code layers to inspect and modify floating-point registers.
- The double specialization of device_pseudo_state_register (now renamed device_functional_state_register) has been added to the core.
- state_add now has an additional specialization that takes both a reference and a write function, using the former for reads only.
- state_max_length has been eliminated in favor of obtaining the relevant info through device_state_entry::max_length.
- The debugger state view no longer adds "flags" as "???" if none have been registered.
- set_state_string has been removed. It was never properly implemented, and it is difficult to see how it could have been done in a useful and consistent way.
- state_find_entry and its typical callers state_int and set_state_int have been inlined for some hopeful efficiency gains.
Diffstat (limited to 'src/emu/inputdev.cpp')
0 files changed, 0 insertions, 0 deletions
