summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatarGravatar Olivier Galibert <galibert@pobox.com>2018-03-08 17:34:31 +0100
committerGravatarGravatar Olivier Galibert <galibert@pobox.com>2018-03-08 17:34:58 +0100
commit4a038b267ab848fb86850e2f6dfebea976b86eb6 (patch) (github)
treeb8f22491c8496a446915612e33e0654a4f8f51bd
parent8365385013ab4020a4985f9c33e86125a705493a (diff)
downloadmame-4a038b267ab848fb86850e2f6dfebea976b86eb6.zip
mame-4a038b267ab848fb86850e2f6dfebea976b86eb6.tar.bz2
Model 2 boot instability fix (nw)
-rw-r--r--src/mame/drivers/model2.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/mame/drivers/model2.cpp b/src/mame/drivers/model2.cpp
index 9a3d546d5c7..afb90ef8718 100644
--- a/src/mame/drivers/model2.cpp
+++ b/src/mame/drivers/model2.cpp
@@ -406,6 +406,13 @@ MACHINE_RESET_MEMBER(model2_state,model2_common)
// TODO: HW can probably parse this at will somehow ...
for (i=0;i<0x20000/4;i++)
m_bufferram[i] = 0x07800f0f;
+
+ m_copro_fifoin_rpos = 0;
+ m_copro_fifoin_wpos = 0;
+ m_copro_fifoin_num = 0;
+ m_copro_fifoout_rpos = 0;
+ m_copro_fifoout_wpos = 0;
+ m_copro_fifoout_num = 0;
}
MACHINE_RESET_MEMBER(model2_state,model2o)
@@ -1009,7 +1016,7 @@ READ32_MEMBER(model2_state::geo_r)
}
// fatalerror("geo_r: %08X, %08X\n", address, mem_mask);
- osd_printf_debug("geo_r: PC:%08x - %08X\n", m_maincpu->pc(), address);
+ logerror("geo_r: PC:%08x - %08X\n", m_maincpu->pc(), address);
return 0;
}