Previous 199869 Revisions Next

r40675 Friday 11th September, 2015 at 05:11:26 UTC by Jonathan Gevaryahu
tms5110.c: minor comment fixes and changes to debugging log data (n/w)
[src/emu/sound]tms5110.c

trunk/src/emu/sound/tms5110.c
r249186r249187
407407             * Old frame was unvoiced, new is voiced (note this is the case on the patent but may not be correct on the real final chip)
408408             */
409409            if ( ((OLD_FRAME_UNVOICED_FLAG == 0) && (NEW_FRAME_UNVOICED_FLAG == 1))
410               || ((OLD_FRAME_UNVOICED_FLAG == 1) && (NEW_FRAME_UNVOICED_FLAG == 0)) /* this line needs further investigation, starwars tie fighters may sound better without it */
410               || ((OLD_FRAME_UNVOICED_FLAG == 1) && (NEW_FRAME_UNVOICED_FLAG == 0))
411411               || ((OLD_FRAME_SILENCE_FLAG == 1) && (NEW_FRAME_SILENCE_FLAG == 0)) )
412412               m_inhibit = 1;
413413            else // normal frame, normal interpolation
r249186r249187
415415
416416#ifdef DEBUG_GENERATION
417417            /* Debug info for current parsed frame */
418            fprintf(stderr, "OLDE: %d; OLDP: %d; ", m_OLDE, m_OLDP);
418            fprintf(stderr, "OLDE=0: %d; OLDP=0: %d; E=0: %d; P=0: %d; ", m_OLDE, m_OLDP, (m_new_frame_energy_idx==0), (m_new_frame_pitch_idx==0));
419419            fprintf(stderr,"Processing new frame: ");
420420            if (m_inhibit == 0)
421421               fprintf(stderr, "Normal Frame\n");
r249186r249187
10041004      fprintf(stderr," ");
10051005#endif
10061006   }
1007#ifdef DEBUG_PARSE_FRAME_DUMP
1008         fprintf(stderr,"\n");
1009#endif
10101007#ifdef VERBOSE
10111008      logerror("Parsed a frame successfully in ROM\n");
10121009#endif


Previous 199869 Revisions Next


© 1997-2024 The MAME Team