diff options
author | 2015-09-11 01:10:13 -0400 | |
---|---|---|
committer | 2015-09-11 01:11:26 -0400 | |
commit | b355441ece5263576cc4dbc3cfc37a33fec392c8 (patch) | |
tree | 06a07d9dfaf6f7386b30fa07c0ab0ffbd1c2d1a1 | |
parent | 6393264de2136049abbb548dadec3fb22095b8c5 (diff) |
tms5110.c: minor comment fixes and changes to debugging log data (n/w)
-rw-r--r-- | src/emu/sound/tms5110.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/emu/sound/tms5110.c b/src/emu/sound/tms5110.c index 54d075d8e9d..a8ff58387cb 100644 --- a/src/emu/sound/tms5110.c +++ b/src/emu/sound/tms5110.c @@ -407,7 +407,7 @@ void tms5110_device::process(INT16 *buffer, unsigned int size) * 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) */ if ( ((OLD_FRAME_UNVOICED_FLAG == 0) && (NEW_FRAME_UNVOICED_FLAG == 1)) - || ((OLD_FRAME_UNVOICED_FLAG == 1) && (NEW_FRAME_UNVOICED_FLAG == 0)) /* this line needs further investigation, starwars tie fighters may sound better without it */ + || ((OLD_FRAME_UNVOICED_FLAG == 1) && (NEW_FRAME_UNVOICED_FLAG == 0)) || ((OLD_FRAME_SILENCE_FLAG == 1) && (NEW_FRAME_SILENCE_FLAG == 0)) ) m_inhibit = 1; else // normal frame, normal interpolation @@ -415,7 +415,7 @@ void tms5110_device::process(INT16 *buffer, unsigned int size) #ifdef DEBUG_GENERATION /* Debug info for current parsed frame */ - fprintf(stderr, "OLDE: %d; OLDP: %d; ", m_OLDE, m_OLDP); + 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)); fprintf(stderr,"Processing new frame: "); if (m_inhibit == 0) fprintf(stderr, "Normal Frame\n"); @@ -1004,9 +1004,6 @@ void tms5110_device::parse_frame() fprintf(stderr," "); #endif } -#ifdef DEBUG_PARSE_FRAME_DUMP - fprintf(stderr,"\n"); -#endif #ifdef VERBOSE logerror("Parsed a frame successfully in ROM\n"); #endif |