MAMEWorld Central >> News
View all threads Index   Flat Mode Flat  

Derrick Renaud
Discrete Coder
Reged: 10/18/03
Posts: 438
Loc: The Local Pub
Send PM
Re: MAME 0.141u1
01/24/11 09:58 PM


> EDIT - Bug added: http://www.mametesters.org/view.php?id=4202

Oops, too late, it is already fixed. Well at least for dkongjr. There may be other bugs, so it you are brave please compile this fix in, and see if there are any other bugs.

(edit) looks like asteroids,etc are fixed too.
Less then a minute from bug report to bug fix. Is that a record?

in src/emu/sound/disc_flt.c
in DISCRETE_STEP(dst_rcfilter)
move:
set_output(0, m_v_out);
so it is the last thing before the final bracket to get this:


Code:

DISCRETE_STEP(dst_rcfilter)
{
if (EXPECTED(m_is_fast))
m_v_out += ((DST_RCFILTER__VIN - m_v_out) * m_exponent);
else
{
if (UNEXPECTED(m_has_rc_nodes))
{
double rc = DST_RCFILTER__R * DST_RCFILTER__C;
if (rc != m_rc)
{
m_rc = rc;
m_exponent = RC_CHARGE_EXP(rc);
}
}

/************************************************************************/
/* Next Value = PREV + (INPUT_VALUE - PREV)*(1-(EXP(-TIMEDELTA/RC))) */
/************************************************************************/

m_vCap += ((DST_RCFILTER__VIN - m_v_out) * m_exponent);
m_v_out = m_vCap + DST_RCFILTER__VREF;
}
set_output(0, m_v_out);
}




Do not p-mail me for help compiling my updates, ask on the board.
Do not request sound for your favorite game. I work on whatever, when I get around to it.
If you have schematics for discrete sound games not easily found on the net, I would be interested.

Edited by Derrick Renaud (01/25/11 12:31 AM)







Entire thread
Subject Posted by Posted on
* MAME 0.141u1 Cypress 01/24/11 08:51 AM
. * Re: MAME 0.141u1 ShimaPong  02/07/11 03:38 PM
. * show us the code -nt- Vas Crabb  02/08/11 12:49 PM
. * he'll never show it. it's easier to ban this troll [nt] abelenki  02/08/11 04:30 PM
. * Re: he'll never show it. it's easier to ban this troll [nt] hap  02/09/11 06:24 PM
. * Re: he'll never show it. it's easier to ban this troll [nt] franciscohs  02/09/11 02:49 AM
. * Re: he'll never show it. it's easier to ban this troll [nt] Kitsune Sniper  02/09/11 03:44 AM
. * Re: he'll never show it. it's easier to ban this troll [nt] SmitdoggAdministrator  02/09/11 03:37 AM
. * Re: he'll never show it. it's easier to ban this troll [nt] franciscohs  02/09/11 01:41 PM
. * Re: he'll never show it. it's easier to ban this troll [nt] R. Belmont  02/09/11 05:24 PM
. * Re: he'll never show it. it's easier to ban this troll [nt] Roman  02/09/11 09:34 AM
. * Re: he'll never show it. it's easier to ban this troll [nt] SmitdoggAdministrator  02/09/11 09:40 AM
. * just ignore him as most people do at this point *nt* etabeta  02/08/11 06:05 PM
. * Re: MAME 0.141u1 CiroConsentino  01/25/11 07:43 PM
. * Re: MAME 0.141u1 etabeta  01/25/11 08:07 PM
. * Re: MAME 0.141u1 CiroConsentino  01/25/11 08:46 PM
. * Re: MAME 0.141u1 etabeta  01/25/11 10:29 PM
. * Re: MAME 0.141u1 CiroConsentino  01/26/11 12:13 AM
. * Re: MAME 0.141u1 Cyberzinho Punk  01/25/11 03:48 AM
. * Re: MAME 0.141u1 bdam  01/25/11 02:21 AM
. * Re: MAME 0.141u1 StilettoAdministrator  01/25/11 05:04 AM
. * Thanks Stiletto - NT bdam  01/25/11 02:45 PM
. * Re: MAME 0.141u1 Naoki  01/25/11 12:11 PM
. * Re: MAME 0.141u1 krick  01/25/11 08:48 AM
. * Re: MAME 0.141u1 russ h.  01/24/11 09:08 PM
. * Re: MAME 0.141u1 TafoidAdministrator  01/24/11 09:27 PM
. * Re: MAME 0.141u1 Derrick Renaud  01/24/11 09:58 PM
. * Re: MAME 0.141u1 russ h.  01/25/11 03:41 PM
. * Re: MAME 0.141u1 AnimalBear  01/24/11 07:40 PM
. * Re: MAME 0.141u1 out. pongplaya  01/24/11 04:56 PM
. * Re: MAME 0.141u1 out. ShimaPong  01/24/11 04:13 PM
. * Excuse me, what the f**k... Lord Nightmare  01/25/11 05:02 AM
. * Re: Excuse me, what the f**k... CrapBoardSoftware  01/25/11 04:13 PM
. * Re: Excuse me, what the f**k... pongplaya  01/25/11 06:54 PM
. * Re: MAME 0.141u1 out. AntoPISA  01/24/11 03:20 PM
. * Re: MAME 0.141u1 out. CiroConsentino  01/24/11 07:51 PM
. * Re: MAME 0.141u1 out. TafoidAdministrator  01/24/11 08:15 PM
. * Re: MAME 0.141u1 out. CiroConsentino  01/25/11 12:28 AM
. * Re: MAME 0.141u1 out. TrevEB  01/24/11 05:26 PM
. * Re: MAME 0.141u1 out. TafoidAdministrator  01/24/11 05:43 PM
. * Re: MAME 0.141u1 out. BIOS-D  01/24/11 09:24 PM
. * Re: MAME 0.141u1 out gregf  01/24/11 12:53 PM
. * Re: MAME 0.141u1 out R. Belmont  01/24/11 05:44 PM
. * Re: MAME 0.141u1 out Ziggy100  01/24/11 06:17 PM
. * MAME0141u1b redk9258  01/24/11 10:26 AM
. * MAME0141u1b_64bit redk9258  01/24/11 10:16 AM
. * Re: MAME0141u1b_64bit Cypress  01/24/11 10:30 AM
. * Re: MAME0141u1b_64bit T-2000  01/24/11 10:57 AM

Extra information Permissions
Moderator:  John IV, Tafoid 
3 registered and 40 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 8374


Quantcast