Previous 15994 Revisions Next

r14685 Sunday 4th March, 2012 at 04:23:17 UTC by MooglyGuy
[N64] Restore previous AI DMA speed, theory was wrong and lag was caused due code cruft in a local file. [Ryan Holtz]
[src/mame/machine]n64.c

src/mame/machine/n64.c
r14684r14685
12991299    ai_status |= 0x40000000;
13001300
13011301   // adjust the timer
1302   period = attotime::from_hz(DACRATE_NTSC) * ((ai_dacrate + 1) * (current->length / 8));
1302   period = attotime::from_hz(DACRATE_NTSC) * ((ai_dacrate + 1) * (current->length / 4));
13031303   ai_timer->adjust(period);
13041304}
13051305
r14684r14685
13391339            {
13401340                double secs_left = (ai_timer->expire() - machine().time()).as_double();
13411341                unsigned int samples_left = (UINT32)(secs_left * (double)DACRATE_NTSC / (double)(ai_dacrate + 1));
1342                ret = samples_left * 8;
1342                ret = samples_left * 4;
13431343            }
13441344            else
13451345            {

Previous 15994 Revisions Next


© 1998-2018 The MESS Team