Decrease spark scale

Uses hires resolution as multiplication factor
This commit is contained in:
tmyqlfpir committed 2023-08-20 20:58:16 +10:00
1 parent 7e26e6eac0
commit 97c1b13370
1 file changed
+3
+3
View File
@@ -425,6 +425,9 @@ Gfx *sparksRender(Gfx *gdl)
sp120 *= 0.2f;
sp120 *= viGetFovY() / 60.0f;
#ifndef PLATFORM_N64 // adjust scale for port
sp120 *= (float)(SCREEN_WIDTH_LO * SCREEN_HEIGHT_LO) / (float)(SCREEN_WIDTH_HI * SCREEN_HEIGHT_HI);
#endif
mtx4LoadIdentity(&spd4);