mirror of
https://github.com/holub/mame
synced 2025-06-06 04:43:45 +03:00
vsnes.cpp: Fix rightward screen shift from previous commit. (#9239)
This commit is contained in:
parent
d41dffbef7
commit
f2d605da19
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user