From 14ef6423d0614ae3df2e1c08d787725f7b6341c1 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Fri, 16 Oct 2026 12:55:20 -0700
Subject: [PATCH] Added support for SDL_COLORSPACE_HDR10 to the Metal renderer
---
src/render/SDL_render.c | 7 +
src/render/metal/SDL_render_metal.m | 60 +-
src/render/metal/SDL_shaders_metal.metal | 171 +-
src/render/metal/SDL_shaders_metal_ios.h | 6026 +++++++-------
.../metal/SDL_shaders_metal_iphonesimulator.h | 6991 ++++++++---------
src/render/metal/SDL_shaders_metal_macos.h | 5178 ++++++------
src/render/metal/SDL_shaders_metal_tvos.h | 6026 +++++++-------
.../metal/SDL_shaders_metal_tvsimulator.h | 6773 ++++++++--------
8 files changed, 15347 insertions(+), 15885 deletions(-)
diff --git a/src/render/SDL_render.c b/src/render/SDL_render.c
index 5f2ba1a5c2797..4f9f5b97e22fe 100644
--- a/src/render/SDL_render.c
+++ b/src/render/SDL_render.c
@@ -871,6 +871,13 @@ static void UpdateHDRProperties(SDL_Renderer *renderer)
if (renderer->output_colorspace == SDL_COLORSPACE_SRGB_LINEAR ||
renderer->output_colorspace == SDL_COLORSPACE_HDR10) {
+#ifdef SDL_PLATFORM_APPLE
+ if (renderer->output_colorspace == SDL_COLORSPACE_HDR10) {
+ // Apple platforms display PQ 100 nits as SDR white (EDR 1.0)
+ const float SDR_reference_white_nits = 100.0f;
+ renderer->SDR_white_point = SDR_reference_white_nits / SCRGB_NITS;
+ } else
+#endif
if (SDL_strcmp(SDL_GetCurrentVideoDriver(), "wayland") == 0) {
// The Vulkan drivers don't set luminance for HDR10 swapchains, so the
// protocol default reference white of 203 nits is used. For linear
diff --git a/src/render/metal/SDL_render_metal.m b/src/render/metal/SDL_render_metal.m
index 428091c5d49ec..fc097e0f0590b 100644
--- a/src/render/metal/SDL_render_metal.m
+++ b/src/render/metal/SDL_render_metal.m
@@ -638,6 +638,13 @@ size_t GetYCbCRtoRGBConversionMatrix(SDL_Colorspace colorspace, int w, int h, in
return 0;
}
+// Return true if we want the texture sampler to convert to linear values on read
+static bool UseSRGBTextureFormats(SDL_Renderer *renderer)
+{
+ return (renderer->output_colorspace == SDL_COLORSPACE_SRGB_LINEAR ||
+ renderer->output_colorspace == SDL_COLORSPACE_HDR10);
+}
+
static bool METAL_CreatePalette(SDL_Renderer *renderer, SDL_TexturePalette *palette)
{
@autoreleasepool {
@@ -647,7 +654,7 @@ static bool METAL_CreatePalette(SDL_Renderer *renderer, SDL_TexturePalette *pale
id<MTLTexture> mtltexture = nil;
SDL3METAL_PaletteData *palettedata;
- if (renderer->output_colorspace == SDL_COLORSPACE_SRGB_LINEAR) {
+ if (UseSRGBTextureFormats(renderer)) {
pixfmt = MTLPixelFormatRGBA8Unorm_sRGB;
} else {
pixfmt = MTLPixelFormatRGBA8Unorm;
@@ -714,14 +721,14 @@ static bool METAL_CreateTexture(SDL_Renderer *renderer, SDL_Texture *texture, SD
switch (texture->format) {
case SDL_PIXELFORMAT_ABGR8888:
- if (renderer->output_colorspace == SDL_COLORSPACE_SRGB_LINEAR) {
+ if (UseSRGBTextureFormats(renderer)) {
pixfmt = MTLPixelFormatRGBA8Unorm_sRGB;
} else {
pixfmt = MTLPixelFormatRGBA8Unorm;
}
break;
case SDL_PIXELFORMAT_ARGB8888:
- if (renderer->output_colorspace == SDL_COLORSPACE_SRGB_LINEAR) {
+ if (UseSRGBTextureFormats(renderer)) {
pixfmt = MTLPixelFormatBGRA8Unorm_sRGB;
} else {
pixfmt = MTLPixelFormatBGRA8Unorm;
@@ -1438,9 +1445,14 @@ static bool METAL_QueueGeometry(SDL_Renderer *renderer, SDL_RenderCommand *cmd,
static const float INPUTTYPE_SCRGB = 2;
static const float INPUTTYPE_HDR10 = 3;
+//static const float OUTPUTTYPE_UNSPECIFIED = 0;
+static const float OUTPUTTYPE_SRGB = 1;
+static const float OUTPUTTYPE_SCRGB = 2;
+static const float OUTPUTTYPE_HDR10 = 3;
+
typedef struct
{
- float scRGB_output;
+ float output_type;
float texture_type;
float input_type;
float color_scale;
@@ -1483,7 +1495,17 @@ static void SetupShaderConstants(SDL_Renderer *renderer, const SDL_RenderCommand
SDL_zerop(constants);
- constants->scRGB_output = (float)SDL_RenderingLinearSpace(renderer);
+ switch (renderer->current_colorspace) {
+ case SDL_COLORSPACE_SRGB_LINEAR:
+ constants->output_type = OUTPUTTYPE_SCRGB;
+ break;
+ case SDL_COLORSPACE_HDR10:
+ constants->output_type = OUTPUTTYPE_HDR10;
+ break;
+ default:
+ constants->output_type = OUTPUTTYPE_SRGB;
+ break;
+ }
constants->color_scale = cmd->data.draw.color_scale;
if (texture) {
@@ -1898,6 +1920,13 @@ static bool METAL_RunCommandQueue(SDL_Renderer *renderer, SDL_RenderCommand *cmd
color.r *= cmd->data.color.color_scale;
color.g *= cmd->data.color.color_scale;
color.b *= cmd->data.color.color_scale;
+
+ if (renderer->current_colorspace == SDL_COLORSPACE_HDR10) {
+ color.r = SDL_PQfromNits(color.r * SCRGB_NITS);
+ color.g = SDL_PQfromNits(color.g * SCRGB_NITS);
+ color.b = SDL_PQfromNits(color.b * SCRGB_NITS);
+ }
+
MTLClearColor mtlcolor = MTLClearColorMake(color.r, color.g, color.b, color.a);
// get new command encoder, set up with an initial clear operation.
@@ -2123,6 +2152,9 @@ static bool METAL_RunCommandQueue(SDL_Renderer *renderer, SDL_RenderCommand *cmd
case MTLPixelFormatRGB10A2Unorm:
format = SDL_PIXELFORMAT_ABGR2101010;
break;
+ case MTLPixelFormatBGR10A2Unorm:
+ format = SDL_PIXELFORMAT_ARGB2101010;
+ break;
case MTLPixelFormatRGBA16Float:
format = SDL_PIXELFORMAT_RGBA64_FLOAT;
break;
@@ -2343,6 +2375,7 @@ static bool METAL_CreateRenderer(SDL_Renderer *renderer, SDL_Window *window, SDL
id<MTLCommandBuffer> cmdbuffer;
id<MTLBlitCommandEncoder> blitcmd;
bool scRGB_supported = false;
+ bool HDR10_supported = false;
// Note: matrices are column major.
float identitytransform[16] = {
@@ -2391,10 +2424,15 @@ static bool METAL_CreateRenderer(SDL_Renderer *renderer, SDL_Window *window, SDL
if (@available(macos 10.11, iOS 16.0, *)) {
scRGB_supported = true;
}
+ if (@available(macos 11.0, iOS 16.0, *)) {
+ HDR10_supported = true;
+ }
#endif
if (renderer->output_colorspace != SDL_COLORSPACE_SRGB) {
if (renderer->output_colorspace == SDL_COLORSPACE_SRGB_LINEAR && scRGB_supported) {
// This colorspace is supported
+ } else if (renderer->output_colorspace == SDL_COLORSPACE_HDR10 && HDR10_supported) {
+ // This colorspace is supported
} else {
return SDL_SetError("Unsupported output colorspace");
}
@@ -2478,6 +2516,18 @@ in case we want to use it later (recreating the renderer)
CGColorSpaceRef colorspace = CGColorSpaceCreateWithName(name);
layer.colorspace = colorspace;
CGColorSpaceRelease(colorspace);
+ } else if (renderer->output_colorspace == SDL_COLORSPACE_HDR10) {
+ if (@available(macos 11.0, iOS 16.0, *)) {
+ layer.wantsExtendedDynamicRangeContent = YES;
+ layer.pixelFormat = MTLPixelFormatBGR10A2Unorm;
+
+ const CFStringRef name = kCGColorSpaceITUR_2100_PQ;
+ CGColorSpaceRef colorspace = CGColorSpaceCreateWithName(name);
+ layer.colorspace = colorspace;
+ CGColorSpaceRelease(colorspace);
+ } else {
+ SDL_assert(!"Logic error, HDR10 is not actually supported");
+ }
}
#endif // !SDL_PLATFORM_TVOS
diff --git a/src/render/metal/SDL_shaders_metal.metal b/src/render/metal/SDL_shaders_metal.metal
index 7958130cb21ee..79bedcb2f67e1 100644
--- a/src/render/metal/SDL_shaders_metal.metal
+++ b/src/render/metal/SDL_shaders_metal.metal
@@ -25,9 +25,14 @@ using namespace metal;
#define INPUTTYPE_SCRGB 2
#define INPUTTYPE_HDR10 3
+#define OUTPUTTYPE_UNSPECIFIED 0
+#define OUTPUTTYPE_SRGB 1
+#define OUTPUTTYPE_SCRGB 2
+#define OUTPUTTYPE_HDR10 3
+
struct ShaderConstants
{
- float scRGB_output;
+ float output_type;
float texture_type;
float input_type;
float color_scale;
@@ -45,6 +50,20 @@ struct YUVDecode
float3x3 matrix;
};
+constant float SCRGB_NITS = 80.0;
+
+constant float3x3 mat709to2020 = {
+ { 0.627404, 0.329283, 0.043313 },
+ { 0.069097, 0.919541, 0.011362 },
+ { 0.016391, 0.088013, 0.895595 }
+};
+
+constant float3x3 mat2020to709 = {
+ { 1.660496, -0.587656, -0.072840 },
+ { -0.124547, 1.132895, -0.008348 },
+ { -0.018154, -0.100597, 1.118751 }
+};
+
float sRGBtoLinear(float v)
{
if (v <= 0.04045) {
@@ -78,37 +97,30 @@ float3 PQtoLinear(float3 v, float sdr_white_point)
return (10000.0 * pow(abs(num / den), oo_m1) / sdr_white_point);
}
-float3 ApplyTonemap(float3 v, float input_type, float tonemap_method, float tonemap_factor1, float tonemap_factor2)
+float3 PQfromNits(float3 v)
{
- const float3x3 mat709to2020 = {
- { 0.627404, 0.329283, 0.043313 },
- { 0.069097, 0.919541, 0.011362 },
- { 0.016391, 0.088013, 0.895595 }
- };
- const float3x3 mat2020to709 = {
- { 1.660496, -0.587656, -0.072840 },
- { -0.124547, 1.132895, -0.008348 },
- { -0.018154, -0.100597, 1.118751 }
- };
+ const float c1 = 0.8359375;
+ const float c2 = 18.8515625;
+ const float c3 = 18.6875;
+ const float m1 = 0.1593017578125;
+ const float m2 = 78.84375;
+
+ float3 y = clamp(v / 10000.0, 0.0, 1.0);
+ float3 num = c1 + c2 * pow(y, m1);
+ float3 den = 1.0 + c3 * pow(y, m1);
+ return pow(num / den, m2);
+}
+float3 ApplyTonemap(float3 v, float tonemap_method, float tonemap_factor1, float tonemap_factor2)
+{
if (tonemap_method == TONEMAP_LINEAR) {
v *= tonemap_factor1;
} else if (tonemap_method == TONEMAP_CHROME) {
- if (input_type == INPUTTYPE_SCRGB) {
- // Convert to BT.2020 colorspace for tone mapping
- v = v * mat709to2020;
- }
-
float vmax = max(v.r, max(v.g, v.b));
if (vmax > 0.0) {
float scale = (1.0 + tonemap_factor1 * vmax) / (1.0 + tonemap_factor2 * vmax);
v *= scale;
}
-
- if (input_type == INPUTTYPE_SCRGB) {
- // Convert to BT.709 colorspace after tone mapping
- v = v * mat2020to709;
- }
}
return v;
}
@@ -157,82 +169,69 @@ float2 GetPixelArtUV(float2 uv, float4 texel_size)
return (floor(tx) + 0.5 + txOffset) * texel_size.xy;
}
-float4 GetOutputColorSimple(float4 rgba, float color_scale)
-{
- float4 output;
-
- output.rgb = rgba.rgb * color_scale;
- output.a = rgba.a;
-
- return output;
-}
-
-float3 GetOutputColorFromSRGB(float3 rgb, float scRGB_output, float color_scale)
+float4 GetOutputColorSimple(constant ShaderConstants &c, float4 vertex_color)
{
- float3 output;
-
- if (scRGB_output) {
- rgb.r = sRGBtoLinear(rgb.r);
- rgb.g = sRGBtoLinear(rgb.g);
- rgb.b = sRGBtoLinear(rgb.b);
+ float4 output = float4(c.color_scale, c.color_scale, c.color_scale, 1.0) * vertex_color;
+ if (c.output_type == OUTPUTTYPE_HDR10) {
+ output.rgb = PQfromNits(output.rgb * SCRGB_NITS);
}
-
- output = rgb * color_scale;
-
return output;
}
-float3 GetOutputColorFromLinear(float3 rgb, float scRGB_output, float color_scale)
+float4 GetOutputColor(float4 rgba, constant ShaderConstants &c, float4 vertex_color)
{
- float3 output;
-
- output = rgb * color_scale;
-
- if (!scRGB_output) {
- output.r = sRGBfromLinear(output.r);
- output.g = sRGBfromLinear(output.g);
- output.b = sRGBfromLinear(output.b);
- output = clamp(output, 0.0, 1.0);
- }
-
- return output;
-}
-
-float4 GetOutputColor(float4 rgba, constant ShaderConstants &c)
-{
- const float3x3 mat2020to709 = {
- { 1.660496, -0.587656, -0.072840 },
- { -0.124547, 1.132895, -0.008348 },
- { -0.018154, -0.100597, 1.118751 }
- };
- float4 output;
+ float3 rgb = rgba.rgb;
+ bool rgb2020 = false;
+ // Convert the input to linear values, unless we're staying in sRGB space
if (c.input_type == INPUTTYPE_HDR10) {
- rgba.rgb = PQtoLinear(rgba.rgb, c.sdr_white_point);
+ rgb = PQtoLinear(rgb, c.sdr_white_point);
+ rgb2020 = true;
+ } else if (c.input_type == INPUTTYPE_SRGB) {
+ if (c.output_type != OUTPUTTYPE_SRGB && c.texture_type != TEXTURETYPE_RGB) {
+ // RGB textures have already been converted to linear by the sampler
+ rgb.r = sRGBtoLinear(rgb.r);
+ rgb.g = sRGBtoLinear(rgb.g);
+ rgb.b = sRGBtoLinear(rgb.b);
+ }
+ } else if (c.input_type != INPUTTYPE_SCRGB) {
+ // Unexpected input type, use magenta error color
+ return float4(1.0, 0.0, 1.0, 1.0);
}
+ // Tone mapping is done in the BT.2020 colorspace
if (c.tonemap_method != TONEMAP_NONE) {
- rgba.rgb = ApplyTonemap(rgba.rgb, c.input_type, c.tonemap_method, c.tonemap_factor1, c.tonemap_factor2);
+ if (!rgb2020) {
+ rgb = rgb * mat709to2020;
+ rgb2020 = true;
+ }
+ rgb = ApplyTonemap(rgb, c.tonemap_method, c.tonemap_factor1, c.tonemap_factor2);
}
- if (c.input_type == INPUTTYPE_SRGB) {
- if (c.texture_type == TEXTURETYPE_RGB) {
- // The sampler has already converted to linear if necessary
- output.rgb = rgba.rgb * c.color_scale;
- } else {
- output.rgb = GetOutputColorFromSRGB(rgba.rgb, c.scRGB_output, c.color_scale);
+ // Convert to the output color primaries
+ if (c.output_type == OUTPUTTYPE_HDR10) {
+ if (!rgb2020) {
+ rgb = rgb * mat709to2020;
}
- } else if (c.input_type == INPUTTYPE_SCRGB) {
- output.rgb = GetOutputColorFromLinear(rgba.rgb, c.scRGB_output, c.color_scale);
- } else if (c.input_type == INPUTTYPE_HDR10) {
- rgba.rgb = rgba.rgb * mat2020to709;
- output.rgb = GetOutputColorFromLinear(rgba.rgb, c.scRGB_output, c.color_scale);
} else {
- // Unexpected input type, use magenta error color
- output.rgb = float3(1.0, 0.0, 1.0);
+ if (rgb2020) {
+ rgb = rgb * mat2020to709;
+ }
}
- output.a = rgba.a;
+ rgb *= c.color_scale;
+
+ if (c.output_type == OUTPUTTYPE_SRGB && c.input_type != INPUTTYPE_SRGB) {
+ rgb.r = sRGBfromLinear(rgb.r);
+ rgb.g = sRGBfromLinear(rgb.g);
+ rgb.b = sRGBfromLinear(rgb.b);
+ rgb = clamp(rgb, 0.0, 1.0);
+ }
+
+ float4 output = float4(rgb, rgba.a) * vertex_color;
+ if (c.output_type == OUTPUTTYPE_HDR10) {
+ output.rgb = PQfromNits(output.rgb * SCRGB_NITS);
+ }
return output;
}
@@ -263,7 +262,7 @@ vertex SolidVertexOutput SDL_Solid_vertex(SolidVertexInput in [[stage_in]],
fragment float4 SDL_Solid_fragment(SolidVertexInput in [[stage_in]],
constant ShaderConstants &c [[buffer(0)]])
{
- return GetOutputColorSimple(1.0, c.color_scale) * in.color;
+ return GetOutputColorSimple(c, in.color);
}
struct CopyVertexInput
@@ -311,7 +310,7 @@ fragment float4 SDL_Palette_fragment(CopyVertexOutput vert [[stage_in]],
// Unexpected texture type, use magenta error color
rgba = float4(1.0, 0.0, 1.0, 1.0);
}
- return GetOutputColor(rgba, c) * vert.color;
+ return GetOutputColor(rgba, c, vert.color);
}
fragment float4 SDL_Copy_fragment(CopyVertexOutput vert [[stage_in]],
@@ -330,7 +329,7 @@ fragment float4 SDL_Copy_fragment(CopyVertexOutput vert [[stage_in]],
// Unexpected texture type, use magenta error color
rgba = float4(1.0, 0.0, 1.0, 1.0);
}
- return GetOutputColor(rgba, c) * vert.color;
+ return GetOutputColor(rgba, c, vert.color);
}
fragment float4 SDL_YUV_fragment(CopyVertexOutput vert [[stage_in]],
@@ -350,7 +349,7 @@ fragment float4 SDL_YUV_fragment(CopyVertexOutput vert [[stage_in]],
rgba.rgb = (yuv + decode.offset) * decode.matrix;
rgba.a = 1.0;
- return GetOutputColor(rgba, c) * vert.color;
+ return GetOutputColor(rgba, c, vert.color);
}
fragment float4 SDL_NV12_fragment(CopyVertexOutput vert [[stage_in]],
@@ -379,5 +378,5 @@ fragment float4 SDL_NV12_fragment(CopyVertexOutput vert [[stage_in]],
}
rgba.a = 1.0;
- return GetOutputColor(rgba, c) * vert.color;
+ return GetOutputColor(rgba, c, vert.color);
}
diff --git a/src/render/metal/SDL_shaders_metal_ios.h b/src/render/metal/SDL_shaders_metal_ios.h
index 44557677a6ce4..51966dbfa5c01 100644
--- a/src/render/metal/SDL_shaders_metal_ios.h
+++ b/src/render/metal/SDL_shaders_metal_ios.h
@@ -1,81 +1,81 @@
const unsigned char sdl_metallib[] = {
0x4d, 0x54, 0x4c, 0x42, 0x01, 0x00, 0x02, 0x00, 0x02, 0x00, 0x00, 0x00,
- 0x00, 0x00, 0x00, 0x00, 0xb1, 0xa3, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0xc1, 0xa1, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x58, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x4f, 0x03, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0xab, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x8e, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x39, 0x04, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x38, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- 0x71, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0x9f, 0x00, 0x00,
+ 0x71, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x50, 0x9d, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00, 0x78, 0x00, 0x00, 0x00,
0x4e, 0x41, 0x4d, 0x45, 0x11, 0x00, 0x53, 0x44, 0x4c, 0x5f, 0x53, 0x6f,
0x6c, 0x69, 0x64, 0x5f, 0x76, 0x65, 0x72, 0x74, 0x65, 0x78, 0x00, 0x54,
0x59, 0x50, 0x45, 0x01, 0x00, 0x00, 0x48, 0x41, 0x53, 0x48, 0x20, 0x00,
- 0xe9, 0x4e, 0xb9, 0x7c, 0x66, 0x26, 0x51, 0xda, 0x95, 0x03, 0xbb, 0x2f,
- 0x16, 0x77, 0xdd, 0xdb, 0x2b, 0x8a, 0x66, 0xb8, 0x54, 0xe4, 0x9f, 0xf7,
- 0x7e, 0xa2, 0x3a, 0x3f, 0x67, 0x4a, 0x4f, 0xae, 0x4f, 0x46, 0x46, 0x54,
+ 0xe9, 0x79, 0x6f, 0x79, 0xb0, 0xb3, 0x8b, 0x2e, 0x7e, 0x83, 0xb9, 0x7c,
+ 0x8e, 0x56, 0x3f, 0x61, 0x63, 0x2b, 0xd0, 0xd4, 0x4d, 0x1a, 0x11, 0x9e,
+ 0x05, 0x3c, 0x56, 0xba, 0x51, 0x80, 0x30, 0x88, 0x4f, 0x46, 0x46, 0x54,
0x18, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x56, 0x45, 0x52, 0x53, 0x08, 0x00, 0x01, 0x00, 0x08, 0x00,
0x01, 0x00, 0x01, 0x00, 0x45, 0x4e, 0x44, 0x54, 0x77, 0x00, 0x00, 0x00,
0x4e, 0x41, 0x4d, 0x45, 0x10, 0x00, 0x53, 0x44, 0x4c, 0x5f, 0x43, 0x6f,
0x70, 0x79, 0x5f, 0x76, 0x65, 0x72, 0x74, 0x65, 0x78, 0x00, 0x54, 0x59,
- 0x50, 0x45, 0x01, 0x00, 0x00, 0x48, 0x41, 0x53, 0x48, 0x20, 0x00, 0xed,
- 0x0f, 0xc1, 0xa4, 0x27, 0xa9, 0x18, 0x07, 0x3d, 0xfb, 0x0c, 0xb6, 0x92,
- 0xaf, 0x0c, 0xb2, 0x66, 0xf7, 0x24, 0x24, 0x41, 0xf5, 0xd9, 0x1d, 0xac,
- 0x1f, 0xdc, 0xc0, 0x8d, 0xfa, 0xb6, 0x03, 0x4f, 0x46, 0x46, 0x54, 0x18,
+ 0x50, 0x45, 0x01, 0x00, 0x00, 0x48, 0x41, 0x53, 0x48, 0x20, 0x00, 0x73,
+ 0xc1, 0xc1, 0xab, 0x5d, 0xef, 0x3a, 0x02, 0xa9, 0xa4, 0x32, 0x12, 0x61,
+ 0x09, 0xf8, 0x49, 0xcc, 0xcc, 0x02, 0x62, 0x77, 0x52, 0x03, 0x8c, 0x51,
+ 0xbd, 0xa1, 0xae, 0xcf, 0xe1, 0xb0, 0xdd, 0x4f, 0x46, 0x46, 0x54, 0x18,
0x00, 0x2d, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00,
- 0x00, 0x00, 0x00, 0x00, 0x00, 0xc0, 0x0c, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0d, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x56, 0x45, 0x52, 0x53, 0x08, 0x00, 0x01, 0x00, 0x08, 0x00, 0x01,
0x00, 0x01, 0x00, 0x45, 0x4e, 0x44, 0x54, 0x7a, 0x00, 0x00, 0x00, 0x4e,
0x41, 0x4d, 0x45, 0x13, 0x00, 0x53, 0x44, 0x4c, 0x5f, 0x53, 0x6f, 0x6c,
0x69, 0x64, 0x5f, 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x00,
0x54, 0x59, 0x50, 0x45, 0x01, 0x00, 0x01, 0x48, 0x41, 0x53, 0x48, 0x20,
- 0x00, 0x2d, 0x14, 0xc9, 0xcb, 0xdf, 0x83, 0x7c, 0xdc, 0xcd, 0xb3, 0x15,
- 0xa9, 0x55, 0xcd, 0x1a, 0x0c, 0xc8, 0x80, 0xd4, 0x29, 0xac, 0xa8, 0x78,
- 0x96, 0x56, 0xee, 0x9a, 0x5b, 0xcb, 0x8c, 0x2f, 0xaf, 0x4f, 0x46, 0x46,
+ 0x00, 0x8b, 0xbb, 0xb6, 0x34, 0xcb, 0xa0, 0x86, 0x18, 0x4e, 0xbf, 0x9c,
+ 0xcf, 0xf2, 0x09, 0xc9, 0x92, 0x80, 0x9e, 0x8e, 0x75, 0x9b, 0x9c, 0x72,
+ 0xba, 0x69, 0x7a, 0x49, 0x65, 0x32, 0x29, 0x4d, 0xd1, 0x4f, 0x46, 0x46,
0x54, 0x18, 0x00, 0x66, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10,
- 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x90, 0x19, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x1a, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x56, 0x45, 0x52, 0x53, 0x08, 0x00, 0x01, 0x00, 0x08,
0x00, 0x01, 0x00, 0x01, 0x00, 0x45, 0x4e, 0x44, 0x54, 0x7c, 0x00, 0x00,
0x00, 0x4e, 0x41, 0x4d, 0x45, 0x15, 0x00, 0x53, 0x44, 0x4c, 0x5f, 0x50,
0x61, 0x6c, 0x65, 0x74, 0x74, 0x65, 0x5f, 0x66, 0x72, 0x61, 0x67, 0x6d,
0x65, 0x6e, 0x74, 0x00, 0x54, 0x59, 0x50, 0x45, 0x01, 0x00, 0x01, 0x48,
- 0x41, 0x53, 0x48, 0x20, 0x00, 0x76, 0x0b, 0x58, 0xe3, 0x91, 0x91, 0x8e,
- 0x8d, 0x25, 0x08, 0xf5, 0x48, 0x7f, 0xdf, 0x06, 0xee, 0x60, 0x46, 0x52,
- 0xc5, 0xf9, 0xf7, 0x34, 0x75, 0x96, 0x07, 0x85, 0x22, 0x52, 0xe7, 0x0c,
- 0xfa, 0x4f, 0x46, 0x46, 0x54, 0x18, 0x00, 0x6e, 0x00, 0x00, 0x00, 0x00,
- 0x00, 0x00, 0x00, 0x18, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc0,
- 0x25, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x56, 0x45, 0x52, 0x53, 0x08,
+ 0x41, 0x53, 0x48, 0x20, 0x00, 0x7c, 0xb0, 0x37, 0xfd, 0xb7, 0xec, 0xff,
+ 0x5b, 0x6f, 0x46, 0x8a, 0x44, 0xf9, 0x21, 0xfa, 0xc9, 0x61, 0x0f, 0xb2,
+ 0x8f, 0x0a, 0x4a, 0xed, 0x98, 0x0f, 0xae, 0xcc, 0x22, 0x2f, 0x1d, 0xaa,
+ 0xc9, 0x4f, 0x46, 0x46, 0x54, 0x18, 0x00, 0x6e, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x18, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xd0,
+ 0x27, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x56, 0x45, 0x52, 0x53, 0x08,
0x00, 0x01, 0x00, 0x08, 0x00, 0x01, 0x00, 0x01, 0x00, 0x45, 0x4e, 0x44,
0x54, 0x79, 0x00, 0x00, 0x00, 0x4e, 0x41, 0x4d, 0x45, 0x12, 0x00, 0x53,
0x44, 0x4c, 0x5f, 0x43, 0x6f, 0x70, 0x79, 0x5f, 0x66, 0x72, 0x61, 0x67,
0x6d, 0x65, 0x6e, 0x74, 0x00, 0x54, 0x59, 0x50, 0x45, 0x01, 0x00, 0x01,
- 0x48, 0x41, 0x53, 0x48, 0x20, 0x00, 0x1c, 0x32, 0x94, 0xc7, 0x01, 0x9e,
- 0xf6, 0xdc, 0x8e, 0xd0, 0x4b, 0x13, 0x00, 0x07, 0x06, 0x4c, 0x30, 0xa7,
- 0x2b, 0x44, 0x75, 0x86, 0xda, 0x9a, 0x76, 0xa0, 0xd3, 0xc9, 0x14, 0x9b,
- 0x44, 0x23, 0x4f, 0x46, 0x46, 0x54, 0x18, 0x00, 0x76, 0x00, 0x00, 0x00,
+ 0x48, 0x41, 0x53, 0x48, 0x20, 0x00, 0xa4, 0x87, 0xb2, 0xa4, 0x55, 0x09,
+ 0xa3, 0xd5, 0x16, 0xc7, 0x7e, 0xd4, 0x0a, 0x47, 0xb5, 0x5e, 0x07, 0xac,
+ 0xa5, 0xfd, 0x99, 0xb6, 0x30, 0xb6, 0xdf, 0x90, 0x61, 0x43, 0x0a, 0x4c,
+ 0x1b, 0x80, 0x4f, 0x46, 0x46, 0x54, 0x18, 0x00, 0x76, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- 0xe0, 0x47, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x56, 0x45, 0x52, 0x53,
+ 0xf0, 0x48, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x56, 0x45, 0x52, 0x53,
0x08, 0x00, 0x01, 0x00, 0x08, 0x00, 0x01, 0x00, 0x01, 0x00, 0x45, 0x4e,
0x44, 0x54, 0x78, 0x00, 0x00, 0x00, 0x4e, 0x41, 0x4d, 0x45, 0x11, 0x00,
0x53, 0x44, 0x4c, 0x5f, 0x59, 0x55, 0x56, 0x5f, 0x66, 0x72, 0x61, 0x67,
0x6d, 0x65, 0x6e, 0x74, 0x00, 0x54, 0x59, 0x50, 0x45, 0x01, 0x00, 0x01,
- 0x48, 0x41, 0x53, 0x48, 0x20, 0x00, 0xd4, 0x56, 0x81, 0x28, 0x94, 0xed,
- 0x5b, 0x11, 0x9c, 0x26, 0xc1, 0x97, 0x3b, 0xc8, 0x8c, 0xb9, 0x26, 0x0d,
- 0x85, 0x2a, 0x1a, 0x31, 0x68, 0x06, 0x55, 0x3c, 0x30, 0xc4, 0x0e, 0x0f,
- 0xe3, 0x71, 0x4f, 0x46, 0x46, 0x54, 0x18, 0x00, 0x7e, 0x00, 0x00, 0x00,
+ 0x48, 0x41, 0x53, 0x48, 0x20, 0x00, 0x2a, 0xa9, 0x3c, 0xab, 0xd6, 0x4a,
+ 0xef, 0x40, 0x0d, 0xa8, 0x05, 0x75, 0x53, 0x91, 0xfa, 0x7d, 0xea, 0x7a,
+ 0x63, 0xf0, 0xfe, 0x3c, 0x95, 0x2f, 0xdc, 0x23, 0x71, 0x44, 0xfa, 0x65,
+ 0x65, 0x12, 0x4f, 0x46, 0x46, 0x54, 0x18, 0x00, 0x7e, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- 0x60, 0x67, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x56, 0x45, 0x52, 0x53,
+ 0x70, 0x67, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x56, 0x45, 0x52, 0x53,
0x08, 0x00, 0x01, 0x00, 0x08, 0x00, 0x01, 0x00, 0x01, 0x00, 0x45, 0x4e,
0x44, 0x54, 0x79, 0x00, 0x00, 0x00, 0x4e, 0x41, 0x4d, 0x45, 0x12, 0x00,
0x53, 0x44, 0x4c, 0x5f, 0x4e, 0x56, 0x31, 0x32, 0x5f, 0x66, 0x72, 0x61,
0x67, 0x6d, 0x65, 0x6e, 0x74, 0x00, 0x54, 0x59, 0x50, 0x45, 0x01, 0x00,
- 0x01, 0x48, 0x41, 0x53, 0x48, 0x20, 0x00, 0xb2, 0xf6, 0xe2, 0xd6, 0xcf,
- 0xb1, 0x67, 0xa4, 0xa4, 0xf0, 0x71, 0x76, 0xeb, 0xdf, 0x21, 0x8a, 0xe4,
- 0x57, 0x7d, 0x54, 0xc5, 0xa6, 0x21, 0x6f, 0xe2, 0x7f, 0x07, 0xa3, 0x8a,
- 0x7d, 0x25, 0x34, 0x4f, 0x46, 0x46, 0x54, 0x18, 0x00, 0x86, 0x00, 0x00,
+ 0x01, 0x48, 0x41, 0x53, 0x48, 0x20, 0x00, 0x2c, 0x93, 0xad, 0xc4, 0x18,
+ 0x20, 0x00, 0x50, 0xc7, 0xa1, 0xc0, 0xf6, 0xcd, 0x01, 0x0a, 0x47, 0x2f,
+ 0xfe, 0x11, 0x33, 0xab, 0x6d, 0xeb, 0x56, 0xb5, 0xf7, 0x70, 0xd6, 0x71,
+ 0x94, 0x61, 0x2b, 0x4f, 0x46, 0x46, 0x54, 0x18, 0x00, 0x86, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- 0x00, 0xe0, 0x82, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x56, 0x45, 0x52,
+ 0x00, 0xf0, 0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x56, 0x45, 0x52,
0x53, 0x08, 0x00, 0x01, 0x00, 0x08, 0x00, 0x01, 0x00, 0x01, 0x00, 0x45,
0x4e, 0x44, 0x54, 0x29, 0x00, 0x00, 0x00, 0x56, 0x41, 0x54, 0x54, 0x15,
0x00, 0x02, 0x00, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x00,
@@ -94,9 +94,9 @@ const unsigned char sdl_metallib[] = {
0x54, 0x04, 0x00, 0x00, 0x00, 0x45, 0x4e, 0x44, 0x54, 0x04, 0x00, 0x00,
0x00, 0x45, 0x4e, 0x44, 0x54, 0x04, 0x00, 0x00, 0x00, 0x45, 0x4e, 0x44,
0x54, 0x04, 0x00, 0x00, 0x00, 0x45, 0x4e, 0x44, 0x54, 0xde, 0xc0, 0x17,
- 0x0b, 0x00, 0x00, 0x00, 0x00, 0x14, 0x00, 0x00, 0x00, 0xac, 0x0c, 0x00,
+ 0x0b, 0x00, 0x00, 0x00, 0x00, 0x14, 0x00, 0x00, 0x00, 0xe0, 0x0c, 0x00,
0x00, 0xff, 0xff, 0xff, 0xff, 0x42, 0x43, 0xc0, 0xde, 0x21, 0x0c, 0x00,
- 0x00, 0x28, 0x03, 0x00, 0x00, 0x0b, 0x82, 0x20, 0x00, 0x02, 0x00, 0x00,
+ 0x00, 0x35, 0x03, 0x00, 0x00, 0x0b, 0x82, 0x20, 0x00, 0x02, 0x00, 0x00,
0x00, 0x12, 0x00, 0x00, 0x00, 0x07, 0x81, 0x23, 0x91, 0x41, 0xc8, 0x04,
0x49, 0x06, 0x10, 0x32, 0x39, 0x92, 0x01, 0x84, 0x0c, 0x25, 0x05, 0x08,
0x19, 0x1e, 0x04, 0x8b, 0x62, 0x80, 0x14, 0x45, 0x02, 0x42, 0x92, 0x0b,
@@ -146,137 +146,140 @@ const unsigned char sdl_metallib[] = {
0xa1, 0x0d, 0xdc, 0xe1, 0x1d, 0xda, 0x20, 0x1c, 0xd8, 0x21, 0x1d, 0xc2,
0x61, 0x1e, 0x00, 0x00, 0x00, 0x49, 0x18, 0x00, 0x00, 0x02, 0x00, 0x00,
0x00, 0x13, 0x86, 0x40, 0x18, 0x00, 0x00, 0x00, 0x00, 0x89, 0x20, 0x00,
- 0x00, 0x1c, 0x00, 0x00, 0x00, 0x32, 0x22, 0x48, 0x09, 0x20, 0x64, 0x85,
+ 0x00, 0x20, 0x00, 0x00, 0x00, 0x32, 0x22, 0x48, 0x09, 0x20, 0x64, 0x85,
0x04, 0x93, 0x22, 0xa4, 0x84, 0x04, 0x93, 0x22, 0xe3, 0x84, 0xa1, 0x90,
- 0x14, 0x12, 0x4c, 0x8a, 0x8c, 0x0b, 0x84, 0xa4, 0x4c, 0x10, 0x40, 0x33,
- 0x00, 0xc3, 0x08, 0x04, 0x60, 0x87, 0x10, 0xc0, 0x30, 0x82, 0x00, 0x24,
- 0x41, 0x98, 0xc9, 0x9a, 0x07, 0x7a, 0x90, 0x87, 0x7a, 0x18, 0x07, 0x7a,
- 0x70, 0x83, 0x76, 0x28, 0x07, 0x7a, 0x08, 0x07, 0x76, 0xd0, 0x03, 0x3d,
- 0x68, 0x87, 0x70, 0xa0, 0x07, 0x79, 0x48, 0x07, 0x7c, 0x70, 0x03, 0x38,
- 0x40, 0x01, 0x19, 0x44, 0x28, 0x84, 0x52, 0x88, 0x11, 0x8c, 0xa1, 0x33,
- 0x10, 0x30, 0x47, 0x00, 0x06, 0x29, 0xa0, 0xe6, 0x08, 0x40, 0x61, 0x10,
- 0x21, 0x10, 0x86, 0x11, 0x08, 0x65, 0x04, 0x00, 0x00, 0x13, 0xa8, 0x70,
- 0x48, 0x07, 0x79, 0xb0, 0x03, 0x3a, 0x68, 0x83, 0x70, 0x80, 0x07, 0x78,
- 0x60, 0x87, 0x72, 0x68, 0x83, 0x74, 0x78, 0x87, 0x79, 0xc8, 0x03, 0x37,
- 0x80, 0x03, 0x37, 0x80, 0x83, 0x0d, 0xb7, 0x51, 0x0e, 0x6d, 0x00, 0x0f,
- 0x7a, 0x60, 0x07, 0x74, 0xa0, 0x07, 0x76, 0x40, 0x07, 0x7a, 0x60, 0x07,
- 0x74, 0xd0, 0x06, 0xe9, 0x10, 0x07, 0x7a, 0x80, 0x07, 0x7a, 0x80, 0x07,
- 0x6d, 0x90, 0x0e, 0x78, 0xa0, 0x07, 0x78, 0xa0, 0x07, 0x78, 0xd0, 0x06,
- 0xe9, 0x10, 0x07, 0x76, 0xa0, 0x07, 0x71, 0x60, 0x07, 0x7a, 0x10, 0x07,
- 0x76, 0xd0, 0x06, 0xe9, 0x30, 0x07, 0x72, 0xa0, 0x07, 0x73, 0x20, 0x07,
- 0x7a, 0x30, 0x07, 0x72, 0xd0, 0x06, 0xe9, 0x60, 0x07, 0x74, 0xa0, 0x07,
- 0x76, 0x40, 0x07, 0x7a, 0x60, 0x07, 0x74, 0xd0, 0x06, 0xe6, 0x30, 0x07,
- 0x72, 0xa0, 0x07, 0x73, 0x20, 0x07, 0x7a, 0x30, 0x07, 0x72, 0xd0, 0x06,
- 0xe6, 0x60, 0x07, 0x74, 0xa0, 0x07, 0x76, 0x40, 0x07, 0x7a, 0x60, 0x07,
- 0x74, 0xd0, 0x06, 0xf6, 0x10, 0x07, 0x76, 0xa0, 0x07, 0x71, 0x60, 0x07,
- 0x7a, 0x10, 0x07, 0x76, 0xd0, 0x06, 0xf6, 0x20, 0x07, 0x74, 0xa0, 0x07,
- 0x73, 0x20, 0x07, 0x7a, 0x30, 0x07, 0x72, 0xd0, 0x06, 0xf6, 0x30, 0x07,
- 0x72, 0xa0, 0x07, 0x73, 0x20, 0x07, 0x7a, 0x30, 0x07, 0x72, 0xd0, 0x06,
- 0xf6, 0x40, 0x07, 0x78, 0xa0, 0x07, 0x76, 0x40, 0x07, 0x7a, 0x60, 0x07,
- 0x74, 0xd0, 0x06, 0xf6, 0x60, 0x07, 0x74, 0xa0, 0x07, 0x76, 0x40, 0x07,
- 0x7a, 0x60, 0x07, 0x74, 0xd0, 0x06, 0xf6, 0x90, 0x07, 0x76, 0xa0, 0x07,
- 0x71, 0x20, 0x07, 0x78, 0xa0, 0x07, 0x71, 0x20, 0x07, 0x78, 0xd0, 0x06,
- 0xf6, 0x10, 0x07, 0x72, 0x80, 0x07, 0x7a, 0x10, 0x07, 0x72, 0x80, 0x07,
- 0x7a, 0x10, 0x07, 0x72, 0x80, 0x07, 0x6d, 0x60, 0x0f, 0x71, 0x90, 0x07,
- 0x72, 0xa0, 0x07, 0x72, 0x50, 0x07, 0x76, 0xa0, 0x07, 0x72, 0x50, 0x07,
- 0x76, 0xd0, 0x06, 0xf6, 0x20, 0x07, 0x75, 0x60, 0x07, 0x7a, 0x20, 0x07,
- 0x75, 0x60, 0x07, 0x7a, 0x20, 0x07, 0x75, 0x60, 0x07, 0x6d, 0x60, 0x0f,
- 0x75, 0x10, 0x07, 0x72, 0xa0, 0x07, 0x75, 0x10, 0x07, 0x72, 0xa0, 0x07,
- 0x75, 0x10, 0x07, 0x72, 0xd0, 0x06, 0xf6, 0x10, 0x07, 0x70, 0x20, 0x07,
- 0x74, 0xa0, 0x07, 0x71, 0x00, 0x07, 0x72, 0x40, 0x07, 0x7a, 0x10, 0x07,
- 0x70, 0x20, 0x07, 0x74, 0xd0, 0x06, 0xee, 0x80, 0x07, 0x7a, 0x10, 0x07,
- 0x76, 0xa0, 0x07, 0x73, 0x20, 0x07, 0x43, 0x18, 0x04, 0x00, 0x80, 0x00,
- 0x00, 0x00, 0x00, 0x00, 0x80, 0x2c, 0x10, 0x00, 0x00, 0x0a, 0x00, 0x00,
- 0x00, 0x32, 0x1e, 0x98, 0x10, 0x19, 0x11, 0x4c, 0x90, 0x8c, 0x09, 0x26,
- 0x47, 0xc6, 0x04, 0x43, 0x52, 0x25, 0x30, 0x02, 0x50, 0x80, 0x01, 0x45,
- 0x50, 0x20, 0x65, 0x50, 0x08, 0x05, 0x41, 0x6c, 0x04, 0x80, 0xd6, 0x58,
- 0x82, 0x56, 0x00, 0x00, 0x00, 0x79, 0x18, 0x00, 0x00, 0x00, 0x01, 0x00,
- 0x00, 0x1a, 0x03, 0x4c, 0x10, 0x97, 0x29, 0xa2, 0x25, 0x10, 0xab, 0x32,
- 0xb9, 0xb9, 0xb4, 0x37, 0xb7, 0x21, 0x86, 0x42, 0x24, 0xc0, 0xa2, 0x50,
- 0xb9, 0x1b, 0x43, 0x0b, 0x93, 0xfb, 0x9a, 0x4b, 0xd3, 0x2b, 0x1b, 0x62,
- 0x28, 0x41, 0x22, 0x28, 0x07, 0xe3, 0x20, 0x08, 0x0e, 0x8e, 0xad, 0x0c,
- 0xa4, 0xad, 0x8c, 0x2e, 0x8c, 0x0d, 0xc4, 0xae, 0x4c, 0x6e, 0x2e, 0xed,
- 0xcd, 0x0d, 0x64, 0x46, 0x06, 0x46, 0x66, 0xc6, 0x05, 0x07, 0x67, 0x06,
- 0x04, 0xa5, 0xad, 0x8c, 0x2e, 0x8c, 0xcd, 0xac, 0xac, 0x65, 0x46, 0x06,
- 0x46, 0x66, 0xc6, 0x05, 0x07, 0x67, 0x26, 0x65, 0x88, 0x90, 0x10, 0x43,
- 0x0c, 0x25, 0x50, 0x10, 0x45, 0x60, 0xd1, 0x54, 0x46, 0x17, 0xc6, 0x36,
- 0x04, 0x49, 0x0e, 0x25, 0x50, 0x02, 0x45, 0xe0, 0x16, 0x96, 0x26, 0xe7,
- 0x32, 0xf6, 0xd6, 0x06, 0x97, 0xc6, 0x56, 0xe6, 0x42, 0x56, 0xe6, 0xf6,
- 0x26, 0xd7, 0x36, 0xf7, 0x45, 0x96, 0x36, 0x17, 0x26, 0xc6, 0x56, 0x36,
- 0x44, 0x48, 0x12, 0x72, 0x61, 0x69, 0x72, 0x2e, 0x63, 0x6f, 0x6d, 0x70,
- 0x69, 0x6c, 0x65, 0x2e, 0x66, 0x61, 0x73, 0x74, 0x5f, 0x6d, 0x61, 0x74,
- 0x68, 0x5f, 0x65, 0x6e, 0x61, 0x62
(Patch may be truncated, please check the link at the top of this post.)