vsnes.cpp: Fix rightward screen shift from previous commit. (#9239)

This commit is contained in:
0kmg 2022-02-01 10:38:19 -09:00 committed by GitHub
parent d41dffbef7
commit f2d605da19
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1735,7 +1735,7 @@ void vsnes_state::vsnes(machine_config &config)
/* video hardware */
screen_device &screen1(SCREEN(config, "screen1", SCREEN_TYPE_RASTER));
screen1.set_raw(N2A03_NTSC_XTAL / 4, 341, 1, VISIBLE_SCREEN_WIDTH + 1, ppu2c0x_device::NTSC_SCANLINES_PER_FRAME, 0, VISIBLE_SCREEN_HEIGHT);
screen1.set_raw(N2A03_NTSC_XTAL / 4, 341, 0, VISIBLE_SCREEN_WIDTH, ppu2c0x_device::NTSC_SCANLINES_PER_FRAME, 0, VISIBLE_SCREEN_HEIGHT);
screen1.set_screen_update("ppu1", FUNC(ppu2c0x_device::screen_update));
PPU_2C04(config, m_ppu1);
@ -1803,11 +1803,11 @@ void vsnes_state::vsdual(machine_config &config)
config.set_default_layout(layout_dualhsxs);
screen_device &screen1(SCREEN(config, "screen1", SCREEN_TYPE_RASTER));
screen1.set_raw(N2A03_NTSC_XTAL / 4, 341, 1, VISIBLE_SCREEN_WIDTH + 1, ppu2c0x_device::NTSC_SCANLINES_PER_FRAME, 0, VISIBLE_SCREEN_HEIGHT);
screen1.set_raw(N2A03_NTSC_XTAL / 4, 341, 0, VISIBLE_SCREEN_WIDTH, ppu2c0x_device::NTSC_SCANLINES_PER_FRAME, 0, VISIBLE_SCREEN_HEIGHT);
screen1.set_screen_update("ppu1", FUNC(ppu2c0x_device::screen_update));
screen_device &screen2(SCREEN(config, "screen2", SCREEN_TYPE_RASTER));
screen2.set_raw(N2A03_NTSC_XTAL / 4, 341, 1, VISIBLE_SCREEN_WIDTH + 1, ppu2c0x_device::NTSC_SCANLINES_PER_FRAME, 0, VISIBLE_SCREEN_HEIGHT);
screen2.set_raw(N2A03_NTSC_XTAL / 4, 341, 0, VISIBLE_SCREEN_WIDTH, ppu2c0x_device::NTSC_SCANLINES_PER_FRAME, 0, VISIBLE_SCREEN_HEIGHT);
screen2.set_screen_update("ppu2", FUNC(ppu2c0x_device::screen_update));
PPU_2C04(config, m_ppu1);