Fixed background gfx issues in later levels of Raiden 2 [Angelo Salese]

This commit is contained in:
Angelo Salese 2011-01-07 14:36:11 +00:00
parent 1d226e8795
commit 0ee81f2b89

View File

@ -639,7 +639,7 @@ WRITE16_MEMBER(raiden2_state::tile_bank_01_w)
{
if(ACCESSING_BITS_0_7) {
int new_bank;
new_bank = 0 | (data & 1);
new_bank = 0 | ((data & 1)<<1);
if(new_bank != bg_bank) {
bg_bank = new_bank;
tilemap_mark_all_tiles_dirty(background_layer);
@ -1002,11 +1002,6 @@ READ16_MEMBER(raiden2_state::cop_collision_status_r)
return 3;
}
READ16_MEMBER(raiden2_state::sprite_prot_dst1_r)
{
return dst1;
}
WRITE16_MEMBER(raiden2_state::sprite_prot_x_w)
{
sprite_prot_x = data;
@ -1038,6 +1033,11 @@ WRITE16_MEMBER(raiden2_state::sprite_prot_src_w)
printf("[%08x] %08x %08x %04x %04x\n",src,dx,dy,dst1,dst2);
}
READ16_MEMBER(raiden2_state::sprite_prot_dst1_r)
{
return dst1;
}
READ16_MEMBER(raiden2_state::sprite_prot_dst2_r)
{
return dst2;