From fd1b81e5cc376bd2b78a724e420480a4add371b4 Mon Sep 17 00:00:00 2001 From: mooglyguy Date: Sun, 3 Nov 2019 02:50:34 +0100 Subject: MAMETesters Bugs Fixed ---------------------- - 07472: [Crash/Freeze] (snes.cpp) When starting a game with SNES (PAL), MAME crash (Ryan Holtz) --- src/devices/video/snes_ppu.h | 2 +- src/mame/drivers/snes.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/devices/video/snes_ppu.h b/src/devices/video/snes_ppu.h index 8915f35cee1..6085b848965 100644 --- a/src/devices/video/snes_ppu.h +++ b/src/devices/video/snes_ppu.h @@ -31,7 +31,7 @@ #define SNES_PAL 0x10 -#define SNES_LAYER_DEBUG 1 +#define SNES_LAYER_DEBUG 0 // ======================> snes_ppu_device diff --git a/src/mame/drivers/snes.cpp b/src/mame/drivers/snes.cpp index dc622fdbd55..c7d7c6b8c4d 100644 --- a/src/mame/drivers/snes.cpp +++ b/src/mame/drivers/snes.cpp @@ -1385,7 +1385,7 @@ void snes_console_state::snespal(machine_config &config) snes(config); m_maincpu->set_clock(MCLK_PAL); - m_screen->set_raw(DOTCLK_PAL, SNES_HTOTAL, 0, SNES_SCR_WIDTH, SNES_VTOTAL_PAL, 0, SNES_SCR_HEIGHT_PAL); + m_screen->set_raw(DOTCLK_PAL * 2, SNES_HTOTAL * 2, 0, SNES_SCR_WIDTH * 2, SNES_VTOTAL_PAL, 0, SNES_SCR_HEIGHT_PAL); m_ppu->set_clock(MCLK_PAL); m_cartslot->set_clock(MCLK_PAL); -- cgit v1.2.3