X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=mappers%2F85.c;h=e7edd5968316a98309a37245349ce7bda684f943;hb=5bd16b94320afa9dfba4985f5d69c2d84bae4c33;hp=e2ae206dae99fd892e0a0677629222e395784260;hpb=92764e6252a3691033d6044b466bf716c96b62d5;p=fceu.git diff --git a/mappers/85.c b/mappers/85.c index e2ae206..e7edd59 100644 --- a/mappers/85.c +++ b/mappers/85.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-7 + * */ #include "mapinc.h" @@ -34,11 +37,11 @@ void DoVRC7Sound(void) { int32 z,a; - //if(FSettings.soundq>=1) return; + if(FSettings.soundq>=1) return; z=((SOUNDTS<<16)/soundtsinc)>>4; a=z-dwave; - moocow(VRC7Sound, (int32 *)&Wave[dwave], a, 1); + moocow(VRC7Sound, &Wave[dwave], a, 1); dwave+=a; } @@ -56,7 +59,7 @@ void UpdateOPL(int Count) a=z-dwave; if(VRC7Sound && a) - moocow(VRC7Sound, (int32 *)&Wave[dwave], a, 1); + moocow(VRC7Sound, &Wave[dwave], a, 1); dwave=0; }