From dc71e3de4b6f1b29565fe5e55554f12b48160f8a Mon Sep 17 00:00:00 2001 From: Mahmoud1205 <157109094+Mahmoud1205@users.noreply.github.com> Date: Fri, 29 Aug 2025 15:10:05 +0300 Subject: [PATCH] fix mistake in documentation of sceGuTexMode sceGuTexMode documentation said that maxmips argument is the number of mips: which is incorrect. maxmips is the index of the maximum mip level used. And the documentation said that the range of this argument is 0-8 , which is incorrect also and the correct range is 0-7. --- src/gu/pspgu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gu/pspgu.h b/src/gu/pspgu.h index 5a248470..b9e532a5 100644 --- a/src/gu/pspgu.h +++ b/src/gu/pspgu.h @@ -1350,7 +1350,7 @@ void sceGuTexMapMode(int mode, unsigned int lu, unsigned int lv); * - GU_PSM_T8 - Indexed, 8-bit * * @param tpsm - Which texture format to use - * @param maxmips - Number of mipmaps to use (0-8) + * @param maxmips - Index of the maximum mip level to use (NOT THE NUMBER OF MIPS). Range is 0-7. * @param mc - Multiclut on/off (0/1) * @param swizzle - GU_TRUE(1) to swizzle texture-reads **/