summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/sunplus_gcm394_video.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/sunplus_gcm394_video.cpp')
-rw-r--r--src/devices/machine/sunplus_gcm394_video.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/devices/machine/sunplus_gcm394_video.cpp b/src/devices/machine/sunplus_gcm394_video.cpp
index d965d10a8d4..19391111da4 100644
--- a/src/devices/machine/sunplus_gcm394_video.cpp
+++ b/src/devices/machine/sunplus_gcm394_video.cpp
@@ -207,7 +207,9 @@ void gcm394_base_video_device::device_start()
m_maxgfxelement = 0;
- decodegfx(":maincpu");
+ // debug helper only
+ if (memregion(":maincpu"))
+ decodegfx(":maincpu");
save_item(NAME(m_spriteextra));
save_item(NAME(m_spriteram));