model2.cpp: work around ld rN, (rN) read on FIFO [Angelo Salese]

* fixes crashes for desert, overrev, pltkids, sgt24h, skytargt, zerogun
This commit is contained in:
angelosa 2018-02-27 23:53:08 +01:00
parent 8c4f067d0b
commit 3d35771f0b
2 changed files with 2 additions and 3 deletions

View File

@ -246,7 +246,8 @@ uint32_t model2_state::copro_fifoout_pop(address_space &space,uint32_t offset, u
// @seealso http://www.mameworld.info/ubbthreads/showflat.php?Cat=&Number=358069&page=&view=&sb=5&o=&vc=1
m_maincpu->spin_until_time(attotime::from_usec(25));
return 0;
// fix ld rN, (rN) case, ask desert, pltkids, zerogun ...
return 0x00884000;
}
r = m_copro_fifoout_data[m_copro_fifoout_rpos++];

View File

@ -12,8 +12,6 @@
#include "debug/debugcon.h"
#include "debug/debugcmd.h"
#include "debugger.h"
struct raster_state;
void model2_state::debug_init()
{