X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=frontend%2Fplat_omap.c;h=710a45bef1f9453bb00f652be8ae3582119d8b4a;hp=d31fa50f5bd9304463ee8287116a51397960b393;hb=2cb4655298083c0c05f68941fa7e4f37b6b51ebd;hpb=e1d2234dbf1b62787219a8c83930569d70db8c37 diff --git a/frontend/plat_omap.c b/frontend/plat_omap.c index d31fa50f..710a45be 100644 --- a/frontend/plat_omap.c +++ b/frontend/plat_omap.c @@ -91,7 +91,7 @@ static int omap_setup_layer_(int fd, int enabled, int x, int y, int w, int h, in } if (first_call) { - mi.size = 640*512*2*3; + mi.size = 640*512*3*3; ret = ioctl(fd, OMAPFB_SETUP_MEM, &mi); if (ret != 0) { perror("SETUP_MEM");