diff --git a/source/gx/gx_video.c b/source/gx/gx_video.c index b82e455..21b9860 100644 --- a/source/gx/gx_video.c +++ b/source/gx/gx_video.c @@ -725,8 +725,8 @@ static void gxDrawCdLeds(gx_texture *texture_l, gx_texture *texture_r) int ywidth = square[4] - square[10]; /* adjust texture coordinates to EFB */ - int xl = (((bitmap.viewport.x + 4) * xwidth) / vwidth) + square[9]; - int xr = (((bitmap.viewport.x + bitmap.viewport.w - 4) * xwidth) / vwidth) + square[9] - w; + int xl = (((bitmap.viewport.x + 4) * xwidth) / (bitmap.viewport.w + 2*bitmap.viewport.x)) + square[9]; + int xr = xwidth - xl + 2*square[9] - w; int y = (((bitmap.viewport.y + bitmap.viewport.h - 4) * ywidth) / vheight) + square[10] - h; /* reset GX rendering */ diff --git a/source/gx/images/CD_access_off.png b/source/gx/images/CD_access_off.png index 70d52c5..d7e5f79 100644 Binary files a/source/gx/images/CD_access_off.png and b/source/gx/images/CD_access_off.png differ diff --git a/source/gx/images/CD_access_on.png b/source/gx/images/CD_access_on.png index 3f609cc..3dbaa1b 100644 Binary files a/source/gx/images/CD_access_on.png and b/source/gx/images/CD_access_on.png differ diff --git a/source/gx/images/CD_ready_off.png b/source/gx/images/CD_ready_off.png index f317cf9..b13a871 100644 Binary files a/source/gx/images/CD_ready_off.png and b/source/gx/images/CD_ready_off.png differ diff --git a/source/gx/images/CD_ready_on.png b/source/gx/images/CD_ready_on.png index e5b797c..c486596 100644 Binary files a/source/gx/images/CD_ready_on.png and b/source/gx/images/CD_ready_on.png differ