diff options
author | Angelo Salese <angelosa@users.noreply.github.com> | 2011-08-17 01:55:49 +0000 |
---|---|---|
committer | Angelo Salese <angelosa@users.noreply.github.com> | 2011-08-17 01:55:49 +0000 |
commit | e82288f24dc567ed74e29eebc9364cb2bf24ddad (patch) | |
tree | 77a23bd690b7380b015f65ae502b2cbc7c829ff7 /src/mame/video | |
parent | 5f684574cde8891e149665a207c586c6b4abe5c3 (diff) |
Various bug fixes for Saturn games, nw
Diffstat (limited to 'src/mame/video')
-rw-r--r-- | src/mame/video/stvvdp1.c | 5 | ||||
-rw-r--r-- | src/mame/video/stvvdp2.c | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/src/mame/video/stvvdp1.c b/src/mame/video/stvvdp1.c index 35c2bdfa799..b1e79325297 100644 --- a/src/mame/video/stvvdp1.c +++ b/src/mame/video/stvvdp1.c @@ -1944,7 +1944,10 @@ static void stv_vdp1_process_list(running_machine &machine) { if ( stv2_current_sprite.CMDPMOD & 0x0400 ) { - cliprect = &state->m_vdp1.user_cliprect; + if(stv2_current_sprite.CMDPMOD & 0x0200) /* TODO: Bio Hazard inventory screen uses outside cliprect */ + cliprect = &state->m_vdp1.system_cliprect; + else + cliprect = &state->m_vdp1.user_cliprect; } else { diff --git a/src/mame/video/stvvdp2.c b/src/mame/video/stvvdp2.c index b0df27096dd..112801ce8d0 100644 --- a/src/mame/video/stvvdp2.c +++ b/src/mame/video/stvvdp2.c @@ -3930,6 +3930,9 @@ static void stv_vdp2_draw_basic_tilemap(running_machine &machine, bitmap_t *bitm } /* TILES ARE NOW DECODED */ + if(!STV_VDP2_VRAMSZ) + tilecode &= 0x3fff; + /* DRAW! */ if(stv2_current_tilemap.incx != 0x10000 || stv2_current_tilemap.incy != 0x10000 || |