diff options
author | Michaël Banaan Ananas <happppp@users.noreply.github.com> | 2012-11-17 22:17:45 +0000 |
---|---|---|
committer | Michaël Banaan Ananas <happppp@users.noreply.github.com> | 2012-11-17 22:17:45 +0000 |
commit | b67409028fcf89d6fd060af0c5fe6d04b138be83 (patch) | |
tree | a63f3e7c4ed14959fb16334622c0e4e31a389cfb | |
parent | a418bab563b4bfcad831faf07b63b91e6bec5c5a (diff) |
get rid of that popmessage
-rw-r--r-- | src/emu/sound/ymz280b.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/emu/sound/ymz280b.c b/src/emu/sound/ymz280b.c index e810552bb03..e201aa81f25 100644 --- a/src/emu/sound/ymz280b.c +++ b/src/emu/sound/ymz280b.c @@ -217,8 +217,7 @@ INLINE void update_volumes(struct YMZ280BVoice *voice) static void YMZ280B_state_save_update_step(ymz280b_state *chip) { - int j; - for (j = 0; j < 8; j++) + for (int j = 0; j < 8; j++) { struct YMZ280BVoice *voice = &chip->voice[j]; update_step(chip, voice); @@ -259,10 +258,8 @@ static TIMER_CALLBACK( update_irq_state_timer_7 ) { update_irq_state_timer_commo static void compute_tables(void) { - int nib; - /* loop over all nibbles and compute the difference */ - for (nib = 0; nib < 16; nib++) + for (int nib = 0; nib < 16; nib++) { int value = (nib & 0x07) * 2 + 1; diff_lookup[nib] = (nib & 0x08) ? -value : value; @@ -472,9 +469,6 @@ static int generate_pcm16(struct YMZ280BVoice *voice, UINT8 *base, UINT32 size, int position = voice->position; int val; - /* is it even used in any MAME game? */ - popmessage("YMZ280B 16-bit PCM contact MAMEDEV"); - /* two cases: first cases is non-looping */ if (!voice->looping) { |