diff options
Diffstat (limited to 'src/mame/video/namcos22.cpp')
-rw-r--r-- | src/mame/video/namcos22.cpp | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/mame/video/namcos22.cpp b/src/mame/video/namcos22.cpp index 93a3b2b81b6..a4841e3809a 100644 --- a/src/mame/video/namcos22.cpp +++ b/src/mame/video/namcos22.cpp @@ -1352,7 +1352,17 @@ void namcos22_state::simulate_slavedsp() u16 code = *src++; u16 len = *src++; s32 index = src - (s32 *)m_polygonram.target(); - if ((index + len) >= 0x7fff) + + // alpinr2b titlescreen includes commands to modify pointram on the fly + if (m_gametype == NAMCOS22_ALPINE_RACER_2 && code == 0xfff8) + { + pdp_handle_commands(index - 2); + + // skip to end for now + src += 0x56; + continue; + } + else if ((index + len) >= 0x7fff) { logerror("simulate_slavedsp buffer overflow: len=0x%x code=0x%x addr=0x%x\n", len, code, index); return; |