summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2017-10-05 00:59:22 -0400
committer AJR <ajrhacker@users.noreply.github.com>2017-10-05 00:59:22 -0400
commitfbcd20b8da77e08accb31d4252850d1a355d74bd (patch)
treee88164e048f302ef65ecca2b98c752927895844b
parent12c18dcd065214daa83f5117b9c6a0211ab35bac (diff)
saturn.cpp/stv.cpp: Remove unused array (nw)
-rw-r--r--src/mame/drivers/saturn.cpp2
-rw-r--r--src/mame/drivers/stv.cpp2
-rw-r--r--src/mame/includes/saturn.h1
-rw-r--r--src/mame/machine/saturn.cpp1
4 files changed, 0 insertions, 6 deletions
diff --git a/src/mame/drivers/saturn.cpp b/src/mame/drivers/saturn.cpp
index 4b4f7e69d4b..3081dca4fac 100644
--- a/src/mame/drivers/saturn.cpp
+++ b/src/mame/drivers/saturn.cpp
@@ -710,7 +710,6 @@ MACHINE_START_MEMBER(sat_console_state, saturn)
// save states
save_pointer(NAME(m_scu_regs.get()), 0x100/4);
- save_pointer(NAME(m_scsp_regs.get()), 0x1000/2);
save_item(NAME(m_en_68k));
save_item(NAME(m_scsp_last_line));
@@ -1002,7 +1001,6 @@ void sat_console_state::saturn_init_driver(int rgn)
m_sinit_boost_timeslice = attotime::zero;
m_scu_regs = make_unique_clear<uint32_t[]>(0x100/4);
- m_scsp_regs = make_unique_clear<uint16_t[]>(0x1000/2);
m_backupram = make_unique_clear<uint8_t[]>(0x8000);
}
diff --git a/src/mame/drivers/stv.cpp b/src/mame/drivers/stv.cpp
index 556e995bfba..db2a48b7314 100644
--- a/src/mame/drivers/stv.cpp
+++ b/src/mame/drivers/stv.cpp
@@ -426,7 +426,6 @@ DRIVER_INIT_MEMBER(stv_state,stv)
m_sinit_boost_timeslice = attotime::zero;
m_scu_regs = std::make_unique<uint32_t[]>(0x100/4);
- m_scsp_regs = std::make_unique<uint16_t[]>(0x1000/2);
m_backupram = std::make_unique<uint8_t[]>(0x8000);
memset(m_backupram.get(), 0, sizeof(uint8_t) * 0x8000);
@@ -1292,7 +1291,6 @@ MACHINE_START_MEMBER(stv_state,stv)
// save states
save_pointer(NAME(m_scu_regs.get()), 0x100/4);
- save_pointer(NAME(m_scsp_regs.get()), 0x1000/2);
save_item(NAME(m_en_68k));
save_item(NAME(m_prev_gamebank_select));
save_item(NAME(m_port_sel));
diff --git a/src/mame/includes/saturn.h b/src/mame/includes/saturn.h
index 955360c36ad..331296317ae 100644
--- a/src/mame/includes/saturn.h
+++ b/src/mame/includes/saturn.h
@@ -56,7 +56,6 @@ public:
memory_region *m_cart_reg[4];
std::unique_ptr<uint8_t[]> m_backupram;
std::unique_ptr<uint32_t[]> m_scu_regs;
- std::unique_ptr<uint16_t[]> m_scsp_regs;
std::unique_ptr<uint16_t[]> m_vdp2_regs;
std::unique_ptr<uint32_t[]> m_vdp2_vram;
std::unique_ptr<uint32_t[]> m_vdp2_cram;
diff --git a/src/mame/machine/saturn.cpp b/src/mame/machine/saturn.cpp
index 86dd075cffb..0866deebed6 100644
--- a/src/mame/machine/saturn.cpp
+++ b/src/mame/machine/saturn.cpp
@@ -960,7 +960,6 @@ WRITE_LINE_MEMBER( saturn_state::system_reset_w )
/*Only backup ram and SMPC ram are retained after that this command is issued.*/
memset(m_scu_regs.get() ,0x00,0x000100);
- memset(m_scsp_regs.get(),0x00,0x001000);
memset(m_sound_ram,0x00,0x080000);
memset(m_workram_h,0x00,0x100000);
memset(m_workram_l,0x00,0x100000);