Skip to content

Commit

Permalink
taito/taitocchip.h: Remove bankdev.h usage
Browse files Browse the repository at this point in the history
  • Loading branch information
cam900 committed Feb 9, 2025
1 parent 7eeb604 commit f9a64d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/mame/taito/taitocchip.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ u8 taito_cchip_device::asic_r(offs_t offset)
{
if ((offset != 0x001) && (!machine().side_effects_disabled())) // prevent logerror spam for now
logerror("%s: asic_r %04x\n", machine().describe_context(), offset);
if (offset<0x200) // 400-5ff is asic 'ram'
if (offset < 0x200) // 400-5ff is asic 'ram'
return m_asic_ram[offset&3];
return 0x00; // 600-7ff is write-only(?) asic banking reg, may read as open bus or never assert /DTACK on read?
}
Expand Down Expand Up @@ -218,8 +218,8 @@ void taito_cchip_device::device_start()
m_upd4464_bank68->configure_entries(0, m_sharedram.length() / 0x400, &m_sharedram[0], 0x400);
m_upd4464_bank68->set_entry(0);

save_item(NAME(m_asic_ram));
m_asic_ram[0] = m_asic_ram[1] = m_asic_ram[2] = m_asic_ram[3] = 0;
save_item(NAME(m_asic_ram));
}

const tiny_rom_entry *taito_cchip_device::device_rom_region() const
Expand Down
2 changes: 0 additions & 2 deletions src/mame/taito/taitocchip.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@

#pragma once

#include "machine/bankdev.h"

DECLARE_DEVICE_TYPE(TAITO_CCHIP, taito_cchip_device)


Expand Down

0 comments on commit f9a64d2

Please sign in to comment.