summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes
diff options
context:
space:
mode:
author arbee <rb6502@users.noreply.github.com>2020-09-26 08:42:50 -0400
committer arbee <rb6502@users.noreply.github.com>2020-09-26 08:42:50 -0400
commit3af6cad39858c3d2888f6794827b51043d874967 (patch)
tree47fb8dc908480a5542303c5925bd389464521ded /src/mame/includes
parent7121fab8d070898e70f5aa565e72056429d343b0 (diff)
seibuspi: allow recovery if MAME is exited during the initial flash process [R. Belmont]
Diffstat (limited to 'src/mame/includes')
-rw-r--r--src/mame/includes/seibuspi.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mame/includes/seibuspi.h b/src/mame/includes/seibuspi.h
index 19c64116ba8..1ee4287d3ae 100644
--- a/src/mame/includes/seibuspi.h
+++ b/src/mame/includes/seibuspi.h
@@ -8,6 +8,7 @@
#include "machine/eepromser.h"
#include "machine/7200fifo.h"
+#include "machine/intelfsh.h"
#include "sound/okim6295.h"
#include "emupal.h"
#include "tilemap.h"
@@ -29,6 +30,9 @@ public:
, m_key(*this, "KEY.%u", 0)
, m_special(*this, "SPECIAL")
, m_z80_bank(*this, "z80_bank")
+ , m_soundflash1(*this, "soundflash1")
+ , m_soundflash2(*this, "soundflash2")
+ , m_soundflash1_region(*this, "soundflash1")
{ }
void sys386f(machine_config &config);
@@ -75,6 +79,10 @@ protected:
optional_memory_bank m_z80_bank;
+ optional_device<intel_e28f008sa_device> m_soundflash1, m_soundflash2;
+
+ optional_region_ptr<u8> m_soundflash1_region;
+
int m_z80_prg_transfer_pos;
int m_z80_lastbank;
u8 m_sb_coin_latch;