mirror of
https://github.com/holub/mame
synced 2025-04-19 15:11:37 +03:00
coleco megacart: savestate support (nw)
This commit is contained in:
parent
77cf3b0413
commit
9a487f2d11
@ -131,7 +131,7 @@ uint8_t colecovision_cartridge_slot_device::bd_r(offs_t offset, uint8_t data, in
|
||||
data = m_card->bd_r(offset , data, _8000, _a000, _c000, _e000);
|
||||
|
||||
return data;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
//-------------------------------------------------
|
||||
|
@ -42,6 +42,8 @@ colecovision_megacart_cartridge_device::colecovision_megacart_cartridge_device(c
|
||||
|
||||
void colecovision_megacart_cartridge_device::device_start()
|
||||
{
|
||||
save_item(NAME(m_bankcount));
|
||||
save_item(NAME(m_activebank));
|
||||
}
|
||||
|
||||
|
||||
|
@ -37,8 +37,8 @@ protected:
|
||||
virtual uint8_t bd_r(offs_t offset, uint8_t data, int _8000, int _a000, int _c000, int _e000) override;
|
||||
|
||||
private:
|
||||
size_t m_bankcount;
|
||||
size_t m_activebank;
|
||||
uint32_t m_bankcount;
|
||||
uint32_t m_activebank;
|
||||
};
|
||||
|
||||
|
||||
|
@ -41,6 +41,7 @@ colecovision_xin1_cartridge_device::colecovision_xin1_cartridge_device(const mac
|
||||
|
||||
void colecovision_xin1_cartridge_device::device_start()
|
||||
{
|
||||
save_item(NAME(m_current_offset));
|
||||
}
|
||||
|
||||
|
||||
|
@ -740,6 +740,3 @@ CONS( 1986, czz50, 0, coleco, czz50, czz50, coleco_state, empty_init
|
||||
CONS( 1988, dina, czz50, 0, dina, czz50, coleco_state, empty_init, "Telegames", "Dina", 0 )
|
||||
CONS( 1988, prsarcde, czz50, 0, czz50, czz50, coleco_state, empty_init, "Telegames", "Personal Arcade", 0 )
|
||||
COMP( 1983, bit90, 0, coleco, bit90, bit90, bit90_state, empty_init, "Bit Corporation", "Bit90", 0 )
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user