[Atsoft-commit] CVS: dcgen/sn76496 sn76496.c,1.1.1.1,1.2
Brought to you by:
atani
|
From: Mike D. <at...@us...> - 2002-04-10 04:53:13
|
Update of /cvsroot/atsoft/dcgen/sn76496
In directory usw-pr-cvs1:/tmp/cvs-serv25081/sn76496
Modified Files:
sn76496.c
Log Message:
Various speed hacks, fixes to the options screen and auto-frameskip code.
new feature: auto-frameskip.
Index: sn76496.c
===================================================================
RCS file: /cvsroot/atsoft/dcgen/sn76496/sn76496.c,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** sn76496.c 18 Jan 2002 02:42:52 -0000 1.1.1.1
--- sn76496.c 10 Apr 2002 04:53:08 -0000 1.2
***************
*** 224,228 ****
/* STEP is a multiplier used to turn the fraction into a fixed point */
/* number. */
! R->UpdateStep = ((double)STEP * R->SampleRate * 16) / clock;
}
--- 224,228 ----
/* STEP is a multiplier used to turn the fraction into a fixed point */
/* number. */
! R->UpdateStep = (STEP * R->SampleRate * 16) / clock;
}
***************
*** 254,258 ****
int i;
struct SN76496 *R = &sn[chip];
- char name[40];
R->SampleRate = sample_rate;
--- 254,257 ----
|