diff --git a/builds/genesis_plus_gx_libretro.dll b/builds/genesis_plus_gx_libretro.dll index e7f9791..ae66c7d 100644 Binary files a/builds/genesis_plus_gx_libretro.dll and b/builds/genesis_plus_gx_libretro.dll differ diff --git a/builds/genplus_cube.dol b/builds/genplus_cube.dol index f72063a..86a3b2a 100644 Binary files a/builds/genplus_cube.dol and b/builds/genplus_cube.dol differ diff --git a/builds/genplus_wii.dol b/builds/genplus_wii.dol index 99814ed..297eaa8 100644 Binary files a/builds/genplus_wii.dol and b/builds/genplus_wii.dol differ diff --git a/gx/gx_video.c b/gx/gx_video.c index bb3c765..62c0f5e 100644 --- a/gx/gx_video.c +++ b/gx/gx_video.c @@ -667,8 +667,8 @@ static void gxDrawCrosshair(gx_texture *texture, int x, int y) int ywidth = square[3] - square[7]; /* adjust texture coordinates to EFB */ - x = (((x + bitmap.viewport.x) * xwidth) / vwidth) + square[6] - w/2; - y = (((y + bitmap.viewport.y) * ywidth) / vheight) + square[7] - h/2; + x = (((x + bitmap.viewport.x) * xwidth) / (bitmap.viewport.w+2*bitmap.viewport.x)) + square[6] - w/2; + y = (((y + bitmap.viewport.y) * ywidth) / (bitmap.viewport.h+2*bitmap.viewport.y)) + square[7] - h/2; /* load texture object */ GXTexObj texObj;