summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/video
diff options
context:
space:
mode:
author Olivier Galibert <galibert@pobox.com>2014-12-23 23:25:56 +0100
committer Olivier Galibert <galibert@pobox.com>2015-02-14 20:58:20 +0100
commiteeedd8a4ca84abaa1fe540afca38093a49127f3b (patch)
tree0461853ab85a1560649d4c10e0e43f1604392694 /src/emu/video
parenta51ee3e00f2751a2d37c0d264b68f24511a54056 (diff)
save: Give the device when available to the state save subsystem [O. Galibert]
Diffstat (limited to 'src/emu/video')
-rw-r--r--src/emu/video/psx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/video/psx.c b/src/emu/video/psx.c
index 1c012c86b86..41cc1fbec29 100644
--- a/src/emu/video/psx.c
+++ b/src/emu/video/psx.c
@@ -568,7 +568,7 @@ void psxgpu_device::psx_gpu_init( int n_gputype )
}
// icky!!!
- machine().save().save_memory( "globals", NULL, 0, "m_packet", (UINT8 *)&m_packet, 1, sizeof( m_packet ) );
+ machine().save().save_memory( this, "globals", NULL, 0, "m_packet", (UINT8 *)&m_packet, 1, sizeof( m_packet ) );
save_pointer(NAME(p_vram), width * height );
save_item(NAME(n_gpu_buffer_offset));