X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=frontend%2Fplat_pollux.c;h=589049c3e24d2721d62477ee111f8ddbfd923de3;hb=6983a9ae5accfbb9be955e4b9320fddb7572e00f;hp=57031d8f899079bedd98e7147967139151752d94;hpb=ddc0a02a811034532a8e013c14091b61a89439ba;p=pcsx_rearmed.git diff --git a/frontend/plat_pollux.c b/frontend/plat_pollux.c index 57031d8f..589049c3 100644 --- a/frontend/plat_pollux.c +++ b/frontend/plat_pollux.c @@ -440,7 +440,7 @@ void *plat_gvideo_set_mode(int *w_, int *h_, int *bpp_) } fb_offset_y = 240/2 - h / 2; - psx_offset_x = poff_w; + psx_offset_x = poff_w * psx_bpp/8 / 2; psx_offset_y = poff_h; psx_src_width = w; psx_src_height = h;