aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
Diffstat (limited to 'graphics')
-rw-r--r--graphics/colormasks.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/colormasks.h b/graphics/colormasks.h
index b6cd9dcee4..1ab78fccc5 100644
--- a/graphics/colormasks.h
+++ b/graphics/colormasks.h
@@ -118,11 +118,12 @@ struct ColorMasks<555> {
kBlueBits = 5,
#ifdef __N64__
+ /* Nintendo 64 uses a BGR555 color format for 16bit display */
kAlphaShift = 0,
kRedShift = kBlueBits+kGreenBits+1,
kGreenShift = kBlueBits + 1,
kBlueShift = 1,
-#else
+#else /* RGB555 */
kAlphaShift = 0,
kRedShift = kGreenBits+kBlueBits,
kGreenShift = kBlueBits,