summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author hap <happppp@users.noreply.github.com>2020-06-17 01:45:31 +0200
committer hap <happppp@users.noreply.github.com>2020-06-17 01:45:31 +0200
commitb357474334f4d25ba4fde48f993d3ab9d5e6c814 (patch)
tree1abccced17f60b1588addde71ca8eeaf161e1838
parentad2c06359fff4ff59813c142f998720730269b3d (diff)
bsktball: don't change vertical resolution (nw)
-rw-r--r--src/mame/drivers/bsktball.cpp2
-rw-r--r--src/mame/video/bsktball.cpp3
2 files changed, 2 insertions, 3 deletions
diff --git a/src/mame/drivers/bsktball.cpp b/src/mame/drivers/bsktball.cpp
index 07716d2f915..9498f88b173 100644
--- a/src/mame/drivers/bsktball.cpp
+++ b/src/mame/drivers/bsktball.cpp
@@ -255,7 +255,7 @@ void bsktball_state::bsktball(machine_config &config)
/* video hardware */
SCREEN(config, m_screen, SCREEN_TYPE_RASTER);
- m_screen->set_raw(12.096_MHz_XTAL/2, 384, 0, 256, 262, 32, 224);
+ m_screen->set_raw(12.096_MHz_XTAL/2, 384, 0, 256, 262, 0, 224);
m_screen->set_screen_update(FUNC(bsktball_state::screen_update_bsktball));
m_screen->set_palette(m_palette);
diff --git a/src/mame/video/bsktball.cpp b/src/mame/video/bsktball.cpp
index 39d2e98c33b..1cd97b297d6 100644
--- a/src/mame/video/bsktball.cpp
+++ b/src/mame/video/bsktball.cpp
@@ -29,7 +29,6 @@ TILE_GET_INFO_MEMBER(bsktball_state::get_bg_tile_info)
void bsktball_state::video_start()
{
m_bg_tilemap = &machine().tilemap().create(*m_gfxdecode, tilemap_get_info_delegate(*this, FUNC(bsktball_state::get_bg_tile_info)), TILEMAP_SCAN_ROWS, 8, 8, 32, 32);
- m_bg_tilemap->set_scrolldy(16, 16);
}
void bsktball_state::draw_sprites( bitmap_ind16 &bitmap, const rectangle &cliprect )
@@ -37,7 +36,7 @@ void bsktball_state::draw_sprites( bitmap_ind16 &bitmap, const rectangle &clipr
for (int mot = 0; mot < 16; mot++)
{
int pic = m_motion[mot * 4];
- int sy = 256 - m_motion[mot * 4 + 1] - 16;
+ int sy = 224 - m_motion[mot * 4 + 1];
int sx = m_motion[mot * 4 + 2];
int color = m_motion[mot * 4 + 3];
int flipx = (pic & 0x80) >> 7;