workaround for internal compiler error when using vs2013 64-bit (nw)

This commit is contained in:
David Haywood 2014-03-11 13:39:45 +00:00
parent 22b1da4b2c
commit 51871ba957

View File

@ -331,8 +331,12 @@ void c140_device::sound_stream_update(sound_stream &stream, stream_sample_t **in
stream_sample_t *dest2 = outputs[1]; stream_sample_t *dest2 = outputs[1];
for (i = 0; i < samples; i++) for (i = 0; i < samples; i++)
{ {
*dest1++ = limit(8*(*lmix++)); INT32 val;
*dest2++ = limit(8*(*rmix++));
val = 8 * (*lmix++);
*dest1++ = limit(val);
val = 8 * (*rmix++);
*dest2++ = limit(val);
} }
} }
} }