From c419f723bfef4afc08d1a4373ed4e9124ffcb343 Mon Sep 17 00:00:00 2001 From: dinkc64 <12570148+dinkc64@users.noreply.github.com> Date: Tue, 10 Feb 2015 20:59:28 +0000 Subject: [PATCH] Gyruss: small graphics fix --- src/burn/drv/konami/d_gyruss.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/burn/drv/konami/d_gyruss.cpp b/src/burn/drv/konami/d_gyruss.cpp index bec17e209..d67b55f1d 100644 --- a/src/burn/drv/konami/d_gyruss.cpp +++ b/src/burn/drv/konami/d_gyruss.cpp @@ -350,7 +350,7 @@ void AY8910_0_portBwrite(UINT32 port, UINT32 data) { /* low bit: 47000pF = 0.047uF */ /* high bit: 220000pF = 0.22uF */ - //discrete_sound_w(device, NODE(3 * chip + i + 21), data & 3); + filter_write(i, data & 3); data >>= 2; } @@ -364,7 +364,7 @@ void AY8910_1_portBwrite(UINT32 port, UINT32 data) { /* low bit: 47000pF = 0.047uF */ /* high bit: 220000pF = 0.22uF */ - //discrete_sound_w(device, NODE(3 * chip + i + 21), data & 3); + filter_write(i + 3, data & 3); data >>= 2; } @@ -873,7 +873,7 @@ static void draw_8x16_tile_line(INT32 sx, INT32 sy, INT32 color, UINT8 *gfx_base { INT32 pxl = src[x ^ flipx]; - if (sx < 0 || sx >= nScreenWidth || !pxl) continue; + if (sx < 8 || sx >= (nScreenWidth - 8) || !pxl) continue; pTransDraw[(line * nScreenWidth) + sx] = pxl | color; }