Lantus' PCE sound bug fix.

This commit is contained in:
iq_132 2012-01-25 18:31:29 +00:00
parent 9c366343e0
commit 0a904d1c43
1 changed files with 1 additions and 1 deletions

View File

@ -179,7 +179,7 @@ static void c6280_stream_update()
INT32 start = c6280_previous_offset; INT32 start = c6280_previous_offset;
INT32 samples = end - start; INT32 samples = end - start;
if (!samples) return; // don't update if length is 0 if (samples<=0) return; // don't update if length is 0
INT16 *pBuffer = stream_buffer + start * 2; INT16 *pBuffer = stream_buffer + start * 2;