mirror of
https://github.com/holub/mame
synced 2025-04-20 23:42:22 +03:00
Fix wangpc, incorrect memory size allocation. Also remove a use-before-init in pic8259
This commit is contained in:
parent
a7740d448b
commit
ad0f09e8f8
@ -186,9 +186,9 @@ wangpc_mvc_device::wangpc_mvc_device(const machine_config &mconfig, const char *
|
||||
device_t(mconfig, WANGPC_MVC, tag, owner, clock),
|
||||
device_wangpcbus_card_interface(mconfig, *this),
|
||||
m_crtc(*this, MC6845_TAG),
|
||||
m_video_ram(*this, "video_ram", VIDEO_RAM_SIZE, ENDIANNESS_LITTLE),
|
||||
m_char_ram(*this, "char_ram", CHAR_RAM_SIZE, ENDIANNESS_LITTLE),
|
||||
m_bitmap_ram(*this, "bitmap_ram", BITMAP_RAM_SIZE, ENDIANNESS_LITTLE),
|
||||
m_video_ram(*this, "video_ram", VIDEO_RAM_SIZE*2, ENDIANNESS_LITTLE),
|
||||
m_char_ram(*this, "char_ram", CHAR_RAM_SIZE*2, ENDIANNESS_LITTLE),
|
||||
m_bitmap_ram(*this, "bitmap_ram", BITMAP_RAM_SIZE*2, ENDIANNESS_LITTLE),
|
||||
m_option(0),
|
||||
m_irq(CLEAR_LINE)
|
||||
{
|
||||
|
@ -425,6 +425,8 @@ void pic8259_device::device_start()
|
||||
save_item(NAME(m_is_x86));
|
||||
save_item(NAME(m_current_level));
|
||||
save_item(NAME(m_inta_sequence));
|
||||
|
||||
m_inta_sequence = 0;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user