summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author hap <happppp@users.noreply.github.com>2022-09-19 19:58:33 +0200
committer hap <happppp@users.noreply.github.com>2022-09-19 19:58:33 +0200
commit05d3b10a6c6223b7a384a4aa02ad9d55923d778d (patch)
tree285cd62a5427d2a329e580e072b339f89138b4fe
parent75caceb1c143757d10f874b0c2ebf0427f4dfc9f (diff)
ave_arb: workaround for emumem bug
-rw-r--r--src/mame/chess/ave_arb.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/mame/chess/ave_arb.cpp b/src/mame/chess/ave_arb.cpp
index ede8b1c04a5..df7d53a447c 100644
--- a/src/mame/chess/ave_arb.cpp
+++ b/src/mame/chess/ave_arb.cpp
@@ -36,6 +36,8 @@ boards without a module slot. CPU and VIA were replaced with new WDC 14MHz-rated
chips, running at 16MHz.
TODO:
+- remove install_ram workaround when emumem bug is fixed, see:
+ https://github.com/mamedev/mame/commit/75caceb1c143757d10f874b0c2ebf0427f4dfc9f#commitcomment-84413054
- avelan, gms3, gms4, sargon35 rom labels
******************************************************************************/
@@ -179,7 +181,11 @@ DEVICE_IMAGE_LOAD_MEMBER(arb_state::cart_load)
// extra ram (optional)
if (image.get_feature("ram"))
- m_maincpu->space(AS_PROGRAM).install_ram(0x0800, 0x0fff, 0x1000, m_extram);
+ {
+ //m_maincpu->space(AS_PROGRAM).install_ram(0x0800, 0x0fff, 0x1000, m_extram);
+ m_maincpu->space(AS_PROGRAM).install_ram(0x0800, 0x0fff, 0, m_extram);
+ m_maincpu->space(AS_PROGRAM).install_ram(0x1800, 0x1fff, 0, m_extram);
+ }
m_altboard = bool(image.get_feature("altboard"));