mirror of
https://github.com/holub/mame
synced 2025-05-12 00:58:53 +03:00
MT04752: atarigt regressions.
This commit is contained in:
parent
955ad998cf
commit
4f2850b93c
@ -345,6 +345,8 @@ static TIMER_CALLBACK( scanline_interrupt_callback )
|
|||||||
void atarigen_eeprom_reset(atarigen_state *state)
|
void atarigen_eeprom_reset(atarigen_state *state)
|
||||||
{
|
{
|
||||||
state->m_eeprom_unlocked = 0;
|
state->m_eeprom_unlocked = 0;
|
||||||
|
if (state->m_eeprom == NULL && state->m_eeprom32 != NULL)
|
||||||
|
state->m_eeprom.set_target(reinterpret_cast<UINT16 *>(state->m_eeprom32.target()), state->m_eeprom32.bytes());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -97,7 +97,8 @@ public:
|
|||||||
atarigen_state(const machine_config &mconfig, device_type type, const char *tag)
|
atarigen_state(const machine_config &mconfig, device_type type, const char *tag)
|
||||||
: driver_device(mconfig, type, tag),
|
: driver_device(mconfig, type, tag),
|
||||||
m_earom(*this, "earom"),
|
m_earom(*this, "earom"),
|
||||||
m_eeprom(*this, "eeprom") { }
|
m_eeprom(*this, "eeprom"),
|
||||||
|
m_eeprom32(*this, "eeprom") { }
|
||||||
|
|
||||||
// users must call through to these
|
// users must call through to these
|
||||||
virtual void machine_start();
|
virtual void machine_start();
|
||||||
@ -114,6 +115,7 @@ public:
|
|||||||
UINT8 m_earom_control;
|
UINT8 m_earom_control;
|
||||||
|
|
||||||
optional_shared_ptr<UINT16> m_eeprom;
|
optional_shared_ptr<UINT16> m_eeprom;
|
||||||
|
optional_shared_ptr<UINT32> m_eeprom32;
|
||||||
|
|
||||||
UINT8 m_scanline_int_state;
|
UINT8 m_scanline_int_state;
|
||||||
UINT8 m_sound_int_state;
|
UINT8 m_sound_int_state;
|
||||||
|
Loading…
Reference in New Issue
Block a user