X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=platform%2Flinux%2Fgp2x.c;h=6e442433c48651860da46e412e91a16a6fa5fff6;hb=cb0316e4c526ad4c8d50e40e53c9d39044dcaaf9;hp=2651a50b56336cd80ea6b98d64832d812a48364a;hpb=cc68a136aa179a5f32fe40208371eb9c2b0aadae;p=picodrive.git diff --git a/platform/linux/gp2x.c b/platform/linux/gp2x.c index 2651a50..6e44243 100644 --- a/platform/linux/gp2x.c +++ b/platform/linux/gp2x.c @@ -298,6 +298,11 @@ void gp2x_sound_write(void *buff, int len) write(sounddev, buff, len); } +void gp2x_sound_sync(void) +{ + ioctl(sounddev, SOUND_PCM_SYNC, 0); +} + void gp2x_sound_volume(int l, int r) { l=l<0?0:l; l=l>255?255:l; r=r<0?0:r; r=r>255?255:r; @@ -327,7 +332,7 @@ void Pause940(int yes) { } -void Reset940(int yes) +void Reset940(int yes, int bank) { }