X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=mappers%2F24and26.c;h=71fb1393b60b0f9d827f74c586aef662e6d3a14c;hb=5bd16b94320afa9dfba4985f5d69c2d84bae4c33;hp=336885648e2537642e2ec5ef4d69f92726edfa78;hpb=d97315ac0bca825d2d50a44453bc5652946e2c67;p=fceu.git diff --git a/mappers/24and26.c b/mappers/24and26.c index 3368856..71fb139 100644 --- a/mappers/24and26.c +++ b/mappers/24and26.c @@ -16,6 +16,9 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * VRC-6 + * */ #include "mapinc.h" @@ -222,7 +225,6 @@ static void DoSawV(void) } } -#if 0 static INLINE void DoSQVHQ(int x) { int32 V; @@ -292,7 +294,6 @@ static void DoSawVHQ(void) } CVBC[2]=SOUNDTS; } -#endif void VRC6Sound(int Count) @@ -306,7 +307,6 @@ void VRC6Sound(int Count) CVBC[x]=Count; } -#if 0 void VRC6SoundHQ(void) { DoSQV1HQ(); @@ -319,21 +319,19 @@ void VRC6SyncHQ(int32 ts) int x; for(x=0;x<3;x++) CVBC[x]=ts; } -#endif static void VRC6_ESI(void) { GameExpSound.RChange=VRC6_ESI; GameExpSound.Fill=VRC6Sound; - GameExpSound.HiFill=0;//VRC6SoundHQ; - GameExpSound.HiSync=0;//VRC6SyncHQ; + GameExpSound.HiFill=VRC6SoundHQ; + GameExpSound.HiSync=VRC6SyncHQ; memset(CVBC,0,sizeof(CVBC)); memset(vcount,0,sizeof(vcount)); memset(dcount,0,sizeof(dcount)); if(FSettings.SndRate) { -#if 0 if(FSettings.soundq>=1) { sfun[0]=DoSQV1HQ; @@ -341,7 +339,6 @@ static void VRC6_ESI(void) sfun[2]=DoSawVHQ; } else -#endif { sfun[0]=DoSQV1; sfun[1]=DoSQV2;