From 412dcd7736a0c87982bfa0ab347cdb887f96fa11 Mon Sep 17 00:00:00 2001 From: fgsfds Date: Sat, 19 Aug 2023 11:43:18 +0200 Subject: [PATCH] port: fix blur in hires mode --- src/game/menugfx.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/game/menugfx.c b/src/game/menugfx.c index e7f84e332..23c22d4b9 100644 --- a/src/game/menugfx.c +++ b/src/game/menugfx.c @@ -185,7 +185,11 @@ Gfx *menugfxRenderBgBlur(Gfx *gdl, u32 colour, s16 arg2, s16 arg3) *(u16 *)&vertices[3].y = arg3 + SCREEN_240 * 10u + 50; vertices[3].z = -10; #elif PAL || !defined(PLATFORM_N64) +#ifdef PLATFORM_N64 width = viGetWidth() * 10; +#else + width = SCREEN_320 * 10; +#endif height = viGetHeight() * 10; *(u16 *)&vertices[0].x = arg2;