summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/device.h
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2021-04-14 14:05:19 -0700
committer Aaron Giles <aaron@aarongiles.com>2021-04-14 14:05:19 -0700
commit98e8ed32043d8d47fe63b6565c452dc61182fd02 (patch)
tree1a2cc7981d4b015bd6b7740e4f3c9c489e96ee57 /src/emu/device.h
parent90c5a29f41bb7402cf180c4f852e4e9d7aabffd1 (diff)
Remove final cases where people directly registered state data with the core manager. Fixed array stride calculations in registration. Removed old registration mechanism entirely.
Diffstat (limited to 'src/emu/device.h')
-rw-r--r--src/emu/device.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/emu/device.h b/src/emu/device.h
index 0e53183e179..e88bd1a919f 100644
--- a/src/emu/device.h
+++ b/src/emu/device.h
@@ -622,13 +622,6 @@ public:
else
m_unstructured_save.reg(value, string_format("%s[%d]", valname, index).c_str());
}
- template<typename ItemType, typename StructType, typename ElementType>
- void ATTR_COLD save_item(ItemType &value, ElementType StructType::*element, const char *valname, int index = 0)
- {
- assert(m_save);
- m_save->save_item(this, name(), tag(), index, value, element, valname);
- osd_printf_warning("Legacy save_item not supported of %s:%s/%X/%s\n", tag(), name(), index, valname);
- }
template<typename ItemType>
void ATTR_COLD save_pointer(ItemType &&value, const char *valname, u32 count, int index = -1)
{
@@ -638,13 +631,6 @@ public:
else
m_unstructured_save.reg(value, string_format("%s[%d]", valname, index).c_str(), count);
}
- template<typename ItemType, typename StructType, typename ElementType>
- void ATTR_COLD save_pointer(ItemType &&value, ElementType StructType::*element, const char *valname, u32 count, int index = 0)
- {
- assert(m_save);
- m_save->save_pointer(this, name(), tag(), index, std::forward<ItemType>(value), element, valname, count);
- osd_printf_warning("Legacy save_pointer not supported of %s:%s/%X/%s\n", tag(), name(), index, valname);
- }
// debugging
device_debug *debug() const { return m_debug.get(); }