From 58b988ab9729678a34f7ebf42ff6a43a0a1fdf7c Mon Sep 17 00:00:00 2001 From: yellows8 Date: Thu, 27 Nov 2014 11:27:21 -0500 Subject: [PATCH] Added comments to GSP_FramebufferFormats for the pixel byte-sizes. --- libctru/include/3ds/services/gsp.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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 -- 2.39.5