X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=gp2x%2Fsoc_pollux.c;h=b7a8a12477772886a31b8663fafaedad736672de;hb=e99d80480196f551f7e6c06deae3750de19b4c0e;hp=ab56b993739b1f15f4526c0bd0dbfbec44511d3c;hpb=f679add71bb8f7e6480cd5ab62e8b489454739a4;p=libpicofe.git diff --git a/gp2x/soc_pollux.c b/gp2x/soc_pollux.c index ab56b99..b7a8a12 100644 --- a/gp2x/soc_pollux.c +++ b/gp2x/soc_pollux.c @@ -149,7 +149,7 @@ static void gp2x_video_RGB_setscaling_(int ln_offs, int W, int H) static void gp2x_video_wait_vsync_(void) { - while (!(memregl[0x308c>>2] & (1 << 10))); + while (!(memregl[0x308c>>2] & (1 << 10))) spend_cycles(128); memregl[0x308c>>2] |= 1 << 10; }