diff --git a/src/xenia/gpu/xenos.h b/src/xenia/gpu/xenos.h index a0451878b..7d6c4f6e9 100644 --- a/src/xenia/gpu/xenos.h +++ b/src/xenia/gpu/xenos.h @@ -139,6 +139,8 @@ enum class ColorFormat : uint32_t { k_32_32_FLOAT = 37, k_32_32_32_32_FLOAT = 38, k_2_10_10_10_FLOAT = 62, + + kUnknown0x36 = 0x36, // not sure, but like 8888 }; enum class VertexFormat : uint32_t { diff --git a/src/xenia/kernel/xboxkrnl_video.cc b/src/xenia/kernel/xboxkrnl_video.cc index c2db0eee6..36a1cddd1 100644 --- a/src/xenia/kernel/xboxkrnl_video.cc +++ b/src/xenia/kernel/xboxkrnl_video.cc @@ -306,7 +306,8 @@ void VdSwap(lpvoid_t buffer_ptr, // ptr into primary ringbuffer auto color_format = gpu::xenos::ColorFormat(color_format_ptr.value()); auto color_space = *color_space_ptr; - assert_true(color_format == gpu::xenos::ColorFormat::k_8_8_8_8); + assert_true(color_format == gpu::xenos::ColorFormat::k_8_8_8_8 || + color_format == gpu::xenos::ColorFormat::kUnknown0x36); assert_true(color_space == 0); assert_true(*frontbuffer_ptr == fetch.address << 12); assert_true(last_frontbuffer_width_ == 1 + fetch.size_2d.width);