nss.cpp, sfcbox.cpp: apply raw params update, fixes nss.cpp regression (nw)

This commit is contained in:
Ivan Vangelista 2019-11-03 08:47:46 +01:00
parent ebd5b1dad9
commit 3cc8a85580
2 changed files with 4 additions and 2 deletions

View File

@ -867,7 +867,8 @@ void nss_state::nss(machine_config &config)
// SNES PPU
SCREEN(config, m_screen, SCREEN_TYPE_RASTER);
m_screen->set_raw(DOTCLK_NTSC, SNES_HTOTAL, 0, SNES_SCR_WIDTH, SNES_VTOTAL_NTSC, 0, SNES_SCR_HEIGHT_NTSC);
m_screen->set_raw(DOTCLK_NTSC * 2, SNES_HTOTAL * 2, 0, SNES_SCR_WIDTH * 2, SNES_VTOTAL_NTSC, 0, SNES_SCR_HEIGHT_NTSC);
m_screen->set_video_attributes(VIDEO_VARIABLE_WIDTH);
m_screen->set_screen_update(FUNC(snes_state::screen_update));
m_screen->screen_vblank().set(FUNC(nss_state::nss_vblank_irq));

View File

@ -489,7 +489,8 @@ void sfcbox_state::sfcbox(machine_config &config)
// SNES PPU
screen_device &screen(SCREEN(config, "screen", SCREEN_TYPE_RASTER));
screen.set_raw(DOTCLK_NTSC, SNES_HTOTAL, 0, SNES_SCR_WIDTH, SNES_VTOTAL_NTSC, 0, SNES_SCR_HEIGHT_NTSC);
screen.set_raw(DOTCLK_NTSC * 2, SNES_HTOTAL * 2, 0, SNES_SCR_WIDTH * 2, SNES_VTOTAL_NTSC, 0, SNES_SCR_HEIGHT_NTSC);
screen.set_video_attributes(VIDEO_VARIABLE_WIDTH);
screen.set_screen_update(FUNC(snes_state::screen_update));
SNES_PPU(config, m_ppu, MCLK_NTSC);