summaryrefslogtreecommitdiff
path: root/apps/plugins/pacbox/arcade.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/pacbox/arcade.c')
-rw-r--r--apps/plugins/pacbox/arcade.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/pacbox/arcade.c b/apps/plugins/pacbox/arcade.c
index ecf6d10af8..bd108c75aa 100644
--- a/apps/plugins/pacbox/arcade.c
+++ b/apps/plugins/pacbox/arcade.c
@@ -640,10 +640,10 @@ void renderSprites( unsigned char * buffer )
640 } 640 }
641} 641}
642 642
643void playSound( int * buf, int len ) 643void playSound( int16_t * buf, int len )
644{ 644{
645 /* Clear the buffer */ 645 /* Clear the buffer */
646 memset( buf, 0, sizeof (int)*len); 646 memset( buf, 0, sizeof (int16_t)*len);
647 647
648 /* Exit now if sound is disabled */ 648 /* Exit now if sound is disabled */
649 if( (output_devices_ & SoundEnabled) == 0 ) 649 if( (output_devices_ & SoundEnabled) == 0 )