Decrease spark scale

Uses hires resolution as multiplication factor
This commit is contained in:
tmyqlfpir 2023-08-20 15:49:28 +10:00
parent 7e26e6eac0
commit 97c1b13370
1 changed files with 3 additions and 0 deletions

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);