summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/c64.cpp
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2019-11-02 12:14:01 -0400
committer AJR <ajrhacker@users.noreply.github.com>2019-11-02 12:18:18 -0400
commit40a75840af82c667cdf95494e681d44e2e78e588 (patch)
tree06d6869e2f49fbc8c8cb92c66fad434d45896514 /src/mame/drivers/c64.cpp
parent11ad6ed232cb46366ae70bfa7717534d977f3e6a (diff)
m6502: Eliminate the disable_cache hack (nw)
Now that `direct_read_data` has been replaced with `memory_access_cache`, which is better equipped to deal with dynamic banking, there should be all the more reason to put an end to this pernicious antipattern.
Diffstat (limited to 'src/mame/drivers/c64.cpp')
-rw-r--r--src/mame/drivers/c64.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mame/drivers/c64.cpp b/src/mame/drivers/c64.cpp
index 417b8799f94..95ebaafbbbc 100644
--- a/src/mame/drivers/c64.cpp
+++ b/src/mame/drivers/c64.cpp
@@ -1441,7 +1441,6 @@ void c64_state::ntsc(machine_config &config)
// basic hardware
M6510(config, m_maincpu, XTAL(14'318'181)/14);
m_maincpu->set_addrmap(AS_PROGRAM, &c64_state::c64_mem);
- m_maincpu->disable_cache(); // address decoding is 100% dynamic, no RAM/ROM banks
m_maincpu->read_callback().set(FUNC(c64_state::cpu_r));
m_maincpu->write_callback().set(FUNC(c64_state::cpu_w));
m_maincpu->set_pulls(0x17, 0xc8);
@@ -1613,7 +1612,6 @@ void c64_state::pal(machine_config &config)
// basic hardware
M6510(config, m_maincpu, XTAL(17'734'472)/18);
m_maincpu->set_addrmap(AS_PROGRAM, &c64_state::c64_mem);
- m_maincpu->disable_cache(); // address decoding is 100% dynamic, no RAM/ROM banks
m_maincpu->read_callback().set(FUNC(c64_state::cpu_r));
m_maincpu->write_callback().set(FUNC(c64_state::cpu_w));
m_maincpu->set_pulls(0x17, 0xc8);
@@ -1761,7 +1759,6 @@ void c64gs_state::pal_gs(machine_config &config)
// basic hardware
M6510(config, m_maincpu, XTAL(17'734'472)/18);
m_maincpu->set_addrmap(AS_PROGRAM, &c64gs_state::c64_mem);
- m_maincpu->disable_cache(); // address decoding is 100% dynamic, no RAM/ROM banks
m_maincpu->read_callback().set(FUNC(c64gs_state::cpu_r));
m_maincpu->write_callback().set(FUNC(c64gs_state::cpu_w));
m_maincpu->set_pulls(0x07, 0xc0);