From 43390ddc2452b24097ba4ca2cb29d3942272a553 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Banaan=20Ananas?= Date: Fri, 28 Jun 2013 20:21:00 +0000 Subject: [PATCH] (add note) --- src/emu/sound/ymf271.c | 12 ++++++------ src/mame/drivers/taito_h.c | 1 + 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/src/emu/sound/ymf271.c b/src/emu/sound/ymf271.c index 8fac34adabf..f6238ab3480 100644 --- a/src/emu/sound/ymf271.c +++ b/src/emu/sound/ymf271.c @@ -454,12 +454,12 @@ void ymf271_device::update_pcm(int slotnum, INT32 *mixp, int length) // overflow slot->stepptr &= 0xffff; slot->stepptr |= ((UINT64)slot->loopaddr<<16); - } - if ((slot->stepptr>>16) > slot->endaddr) - { - // still overflow? (triggers in rdft2, rarely) - slot->stepptr &= 0xffff; - slot->stepptr |= ((UINT64)slot->endaddr<<16); + if ((slot->stepptr>>16) > slot->endaddr) + { + // still overflow? (triggers in rdft2, rarely) + slot->stepptr &= 0xffff; + slot->stepptr |= ((UINT64)slot->endaddr<<16); + } } } diff --git a/src/mame/drivers/taito_h.c b/src/mame/drivers/taito_h.c index 70875b4a71e..9816809b0bc 100644 --- a/src/mame/drivers/taito_h.c +++ b/src/mame/drivers/taito_h.c @@ -425,6 +425,7 @@ static INPUT_PORTS_START( tetristh ) TAITO_MACHINE_NO_COCKTAIL_LOC(SW1) TAITO_COINAGE_JAPAN_OLD_LOC(SW1) + // TODO: verify/complete DSWB PORT_START("DSWB") TAITO_DIFFICULTY_LOC(SW2) PORT_DIPUNKNOWN_DIPLOC( 0x04, 0x04, "SW2:3" )