mirror of
https://github.com/holub/mame
synced 2025-10-08 17:37:56 +03:00
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:
parent
8c4f067d0b
commit
3d35771f0b
@ -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
|
// @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));
|
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++];
|
r = m_copro_fifoout_data[m_copro_fifoout_rpos++];
|
||||||
|
@ -13,8 +13,6 @@
|
|||||||
#include "debug/debugcmd.h"
|
#include "debug/debugcmd.h"
|
||||||
#include "debugger.h"
|
#include "debugger.h"
|
||||||
|
|
||||||
struct raster_state;
|
|
||||||
|
|
||||||
void model2_state::debug_init()
|
void model2_state::debug_init()
|
||||||
{
|
{
|
||||||
if (machine().debug_flags & DEBUG_FLAG_ENABLED)
|
if (machine().debug_flags & DEBUG_FLAG_ENABLED)
|
||||||
|
Loading…
Reference in New Issue
Block a user