X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=gp2x%2Fsoc_pollux.c;fp=gp2x%2Fsoc_pollux.c;h=b7a8a12477772886a31b8663fafaedad736672de;hb=38163dd7df6fc61794d7bb420737a68455c4637c;hp=ab56b993739b1f15f4526c0bd0dbfbec44511d3c;hpb=ed8e30f8c2c6352fe90671059d35085121815850;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; }