Permalink
Browse files

[O1L] cellVideoOut: X8B8G8R8 fix

O1L's fix for cellVideoOut.
  • Loading branch information...
1 parent 9eba0ac commit 9916f0e5c5e13f735363ab3e9ef211b3152810e6 @AniLeo AniLeo committed with Nekotekina Feb 2, 2017
Showing with 3 additions and 1 deletion.
  1. +3 −1 rpcs3/Emu/Cell/Modules/cellVideoOut.cpp
@@ -134,7 +134,9 @@ error_code cellVideoOutConfigure(u32 videoOut, vm::ptr<CellVideoOutConfiguration
{
case CELL_VIDEO_OUT_PRIMARY:
if (config->resolutionId != g_cfg_video_out_resolution.get()
- || config->format != CELL_VIDEO_OUT_BUFFER_COLOR_FORMAT_X8R8G8B8
+ || (config->format != CELL_VIDEO_OUT_BUFFER_COLOR_FORMAT_X8R8G8B8 &&
+ config->format != CELL_VIDEO_OUT_BUFFER_COLOR_FORMAT_X8B8G8R8 &&
+ config->format != CELL_VIDEO_OUT_BUFFER_COLOR_FORMAT_R16G16B16X16_FLOAT)
|| (config->aspect != CELL_VIDEO_OUT_ASPECT_AUTO && config->aspect != g_cfg_video_out_aspect_ratio.get()))
{
return CELL_VIDEO_OUT_ERROR_ILLEGAL_CONFIGURATION;

0 comments on commit 9916f0e

Please sign in to comment.