From: yellows8 Date: Thu, 27 Nov 2014 16:27:21 +0000 (-0500) Subject: Added comments to GSP_FramebufferFormats for the pixel byte-sizes. X-Git-Tag: v0.2.0~19 X-Git-Url: https://chaos.moe/g/?a=commitdiff_plain;h=58b988ab9729678a34f7ebf42ff6a43a0a1fdf7c;p=corbenik%2Fctrulib.git Added comments to GSP_FramebufferFormats for the pixel byte-sizes. --- diff --git a/libctru/include/3ds/services/gsp.h b/libctru/include/3ds/services/gsp.h index d324b9a..e65245d 100644 --- a/libctru/include/3ds/services/gsp.h +++ b/libctru/include/3ds/services/gsp.h @@ -15,11 +15,11 @@ typedef struct typedef enum { - GSP_RGBA8_OES=0, - GSP_BGR8_OES=1, - GSP_RGB565_OES=2, - GSP_RGB5_A1_OES=3, - GSP_RGBA4_OES=4 + GSP_RGBA8_OES=0, //pixel_size = 4-bytes + GSP_BGR8_OES=1, //pixel_size = 3-bytes + GSP_RGB565_OES=2, //pixel_size = 2-bytes + GSP_RGB5_A1_OES=3, //pixel_size = 2-bytes + GSP_RGBA4_OES=4 //pixel_size = 2-bytes }GSP_FramebufferFormats; typedef struct//See this for GSP_CaptureInfoEntry and GSP_CaptureInfo: http://3dbrew.org/wiki/GSPGPU:ImportDisplayCaptureInfo