X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=picodrive.git;a=blobdiff_plain;f=platform%2Fgp2x%2F940ctl.c;h=ff79c88ab6f27852633614aa0d22b4db6a3d4e33;hp=6ba13bd88489cb086a676948dea66684807963f8;hb=fdcfd323747dceacb1ec2e86919d437896635bb7;hpb=ba11a48115de2d25531ddd5fec841ebee42166bd diff --git a/platform/gp2x/940ctl.c b/platform/gp2x/940ctl.c index 6ba13bd..ff79c88 100644 --- a/platform/gp2x/940ctl.c +++ b/platform/gp2x/940ctl.c @@ -391,7 +391,7 @@ int YM2612UpdateOne_940(int *buffer, int length, int stereo, int is_buf_empty) ym_active_chs = shared_ctl->ym_active_chs; // mix in ym buffer. is_buf_empty means nobody mixed there anything yet and it may contain trash - if (is_buf_empty && ym_active_chs) memcpy32(buffer, ym_buf, length<writebuffsel == 1) {