mirror of
https://github.com/holub/mame
synced 2025-06-29 23:48:56 +03:00
tubep: no sprites on left edge (nw)
This commit is contained in:
parent
7b0b90f607
commit
b2e3faace6
@ -2,10 +2,15 @@
|
||||
// copyright-holders:Nicola Salmoria
|
||||
/***************************************************************************
|
||||
|
||||
video.c
|
||||
|
||||
Functions to emulate the video hardware of the machine.
|
||||
|
||||
Bullet vs tilemap offsets are correct when compared with PCB videos
|
||||
(both playfield area, and radar area). Bullet vs sprite offsets are also
|
||||
correct.
|
||||
|
||||
The radar area is offset by 3 pixels, also confirmed with PCB video when
|
||||
it does the VRAM check.
|
||||
|
||||
***************************************************************************/
|
||||
|
||||
#include "emu.h"
|
||||
|
@ -494,7 +494,6 @@ WRITE8_MEMBER(tubep_state::tubep_sprite_control_w)
|
||||
{
|
||||
if (offset < 10)
|
||||
{
|
||||
/*graph_ctrl[offset] = data;*/
|
||||
switch(offset)
|
||||
{
|
||||
case 0: /*a*/
|
||||
@ -647,7 +646,7 @@ uint32_t tubep_state::screen_update_tubep(screen_device &screen, bitmap_ind16 &b
|
||||
else
|
||||
sp_data = sp_data1;
|
||||
|
||||
if (sp_data != 0x0f)
|
||||
if (sp_data != 0x0f && h >= 4)
|
||||
{
|
||||
bg_data = m_prom2[sp_data | m_color_A4];
|
||||
draw_text_or_sprite_pixel = true;
|
||||
|
Loading…
Reference in New Issue
Block a user