mirror of
https://github.com/skyline-emu/skyline.git
synced 2025-01-14 23:37:57 +03:00
df3b961d5d
When calculating mip-level dimensions in terms of GOBs, they need to be divided by 2 while rounding upwards rather than downwards. This fixes corrupted textures and OOB access on lower mip levels across a substantial amount of titles, reducing arbitrary crashes as a result.