X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=gp2x%2Femu.c;h=3f2ed3fcfd26dfc3576cae01ae47e918da142c17;hb=91b2c3e133f883a1674b7acd7702c225f568bfa3;hp=701bcd81ebaf9b2b9df8c53e0ea1245139b960c6;hpb=c93fb19e8fa757c4eab44f373b697c8158d90c42;p=libpicofe.git diff --git a/gp2x/emu.c b/gp2x/emu.c index 701bcd8..3f2ed3f 100644 --- a/gp2x/emu.c +++ b/gp2x/emu.c @@ -43,7 +43,7 @@ char romFileName[PATH_MAX]; extern int crashed_940; -static short sndBuffer[2*44100/50]; +static short __attribute__((aligned(4))) sndBuffer[2*44100/50]; static struct timeval noticeMsgTime = { 0, 0 }; // when started showing static int osd_fps_x; static int combo_keys = 0, combo_acts = 0; // keys and actions which need button combos