From 5b92ad399c372b0ecb6d4f7873be70a0d2d6ce66 Mon Sep 17 00:00:00 2001 From: AJR Date: Sun, 20 Dec 2020 17:48:34 -0500 Subject: [PATCH] twincobr.cpp: Remove state-changing postload method that makes no sense now --- src/mame/includes/twincobr.h | 2 -- src/mame/machine/twincobr.cpp | 7 ------- 2 files changed, 9 deletions(-) diff --git a/src/mame/includes/twincobr.h b/src/mame/includes/twincobr.h index 63a4ee7d6c5..7785d92d0c5 100644 --- a/src/mame/includes/twincobr.h +++ b/src/mame/includes/twincobr.h @@ -44,7 +44,6 @@ public: void init_twincobr(); protected: - virtual void device_post_load() override; virtual void machine_reset() override; virtual void video_start() override; @@ -55,7 +54,6 @@ protected: u32 m_fg_rom_bank; u32 m_bg_ram_bank; int m_intenable; - int m_dsp_on; int m_dsp_bio; int m_fsharkbt_8741; int m_dsp_execute; diff --git a/src/mame/machine/twincobr.cpp b/src/mame/machine/twincobr.cpp index 9408330ecda..3cf7e369451 100644 --- a/src/mame/machine/twincobr.cpp +++ b/src/mame/machine/twincobr.cpp @@ -193,7 +193,6 @@ WRITE_LINE_MEMBER(twincobr_state::int_enable_w) WRITE_LINE_MEMBER(twincobr_state::dsp_int_w) { - m_dsp_on = state; if (state) { // assert the INT line to the DSP @@ -211,11 +210,6 @@ WRITE_LINE_MEMBER(twincobr_state::dsp_int_w) } } -void twincobr_state::device_post_load() -{ - dsp_int_w(m_dsp_on); -} - WRITE_LINE_MEMBER(twincobr_state::coin_counter_1_w) { @@ -261,7 +255,6 @@ void twincobr_state::machine_reset() void twincobr_state::driver_savestate() { save_item(NAME(m_intenable)); - save_item(NAME(m_dsp_on)); save_item(NAME(m_dsp_addr_w)); save_item(NAME(m_main_ram_seg)); save_item(NAME(m_dsp_bio));