diff options
author | 2018-06-17 17:46:18 -0400 | |
---|---|---|
committer | 2018-06-24 09:08:33 -0400 | |
commit | b3afc83bde187412269b825d052116727aa3c1bd (patch) | |
tree | 98809c6cc5d861056842a4acfac24b11a14ecc8f /src/devices/video/gf4500.cpp | |
parent | 297b99c0faa2e70ed3fb5cc4c9ed60e40cd9af5a (diff) |
Allow passing std::unique_ptr<TYPE> directly to save_pointer and remove now-superfluous .get() in many drivers/devices (nw)
Diffstat (limited to 'src/devices/video/gf4500.cpp')
-rw-r--r-- | src/devices/video/gf4500.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/video/gf4500.cpp b/src/devices/video/gf4500.cpp index 4f48a14b9ef..b03fa40d3fc 100644 --- a/src/devices/video/gf4500.cpp +++ b/src/devices/video/gf4500.cpp @@ -48,7 +48,7 @@ void gf4500_device::device_start() { m_data = make_unique_clear<uint32_t[]>(0x140000/4); - save_pointer(NAME(m_data.get()), 0x140000/4); + save_pointer(NAME(m_data), 0x140000/4); save_item(NAME(m_screen_x)); save_item(NAME(m_screen_y)); save_item(NAME(m_screen_x_max)); |