summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/TextureDecoder_Common.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/VideoCommon/TextureDecoder_Common.cpp')
-rw-r--r--Source/Core/VideoCommon/TextureDecoder_Common.cpp72
1 files changed, 64 insertions, 8 deletions
diff --git a/Source/Core/VideoCommon/TextureDecoder_Common.cpp b/Source/Core/VideoCommon/TextureDecoder_Common.cpp
index 9dd9f5850c..2e84e3d282 100644
--- a/Source/Core/VideoCommon/TextureDecoder_Common.cpp
+++ b/Source/Core/VideoCommon/TextureDecoder_Common.cpp
@@ -259,17 +259,73 @@ void TexDecoder_SetTexFmtOverlayOptions(bool enable, bool center)
static const char* texfmt[] = {
// pixel
- "I4", "I8", "IA4", "IA8", "RGB565", "RGB5A3", "RGBA8", "0x07", "C4", "C8", "C14X2", "0x0B",
- "0x0C", "0x0D", "CMPR", "0x0F",
+ "I4",
+ "I8",
+ "IA4",
+ "IA8",
+ "RGB565",
+ "RGB5A3",
+ "RGBA8",
+ "0x07",
+ "C4",
+ "C8",
+ "C14X2",
+ "0x0B",
+ "0x0C",
+ "0x0D",
+ "CMPR",
+ "0x0F",
// Z-buffer
- "0x10", "Z8", "0x12", "Z16", "0x14", "0x15", "Z24X8", "0x17", "0x18", "0x19", "0x1A", "0x1B",
- "0x1C", "0x1D", "0x1E", "0x1F",
+ "0x10",
+ "Z8",
+ "0x12",
+ "Z16",
+ "0x14",
+ "0x15",
+ "Z24X8",
+ "0x17",
+ "0x18",
+ "0x19",
+ "0x1A",
+ "0x1B",
+ "0x1C",
+ "0x1D",
+ "0x1E",
+ "0x1F",
// pixel + copy
- "CR4", "0x21", "CRA4", "CRA8", "0x24", "0x25", "CYUVA8", "CA8", "CR8", "CG8", "CB8", "CRG8",
- "CGB8", "0x2D", "0x2E", "XFB",
+ "CR4",
+ "0x21",
+ "CRA4",
+ "CRA8",
+ "0x24",
+ "0x25",
+ "CYUVA8",
+ "CA8",
+ "CR8",
+ "CG8",
+ "CB8",
+ "CRG8",
+ "CGB8",
+ "0x2D",
+ "0x2E",
+ "XFB",
// Z + copy
- "CZ4", "0x31", "0x32", "0x33", "0x34", "0x35", "0x36", "0x37", "0x38", "CZ8M", "CZ8L", "0x3B",
- "CZ16L", "0x3D", "0x3E", "0x3F",
+ "CZ4",
+ "0x31",
+ "0x32",
+ "0x33",
+ "0x34",
+ "0x35",
+ "0x36",
+ "0x37",
+ "0x38",
+ "CZ8M",
+ "CZ8L",
+ "0x3B",
+ "CZ16L",
+ "0x3D",
+ "0x3E",
+ "0x3F",
};
static void TexDecoder_DrawOverlay(u8* dst, int width, int height, TextureFormat texformat)