diff options
author | mooglyguy <therealmogminer@gmail.com> | 2019-11-03 02:50:34 +0100 |
---|---|---|
committer | MooglyGuy <therealmogminer@gmail.com> | 2019-11-03 02:51:03 +0100 |
commit | fd1b81e5cc376bd2b78a724e420480a4add371b4 (patch) | |
tree | b6f4df6f9e0c078f0483a726a58ab1c4b8bc1569 | |
parent | cabfd7188ae3b4442f6d5b6346709ba3dc3be7f9 (diff) |
MAMETesters Bugs Fixed
----------------------
- 07472: [Crash/Freeze] (snes.cpp) When starting a game with SNES (PAL), MAME crash (Ryan Holtz)
-rw-r--r-- | src/devices/video/snes_ppu.h | 2 | ||||
-rw-r--r-- | 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); |