mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-21 03:55:32 +00:00
cellSysutilAvc2Load_shared: review fixes
This commit is contained in:
parent
3b37f5b156
commit
cb1fb19dea
1 changed files with 1 additions and 3 deletions
|
@ -700,7 +700,7 @@ error_code cellSysutilAvc2Load_shared(SceNpMatching2ContextId ctx_id, u32 contai
|
|||
return CELL_AVC2_ERROR_INVALID_ARGUMENT;
|
||||
}
|
||||
|
||||
uint32_t streaming_mode = init_param->direct_streaming_mode;
|
||||
u32 streaming_mode = init_param->direct_streaming_mode;
|
||||
|
||||
if (init_param->avc_init_param_version < 120)
|
||||
{
|
||||
|
@ -779,8 +779,6 @@ error_code cellSysutilAvc2Load_shared(SceNpMatching2ContextId ctx_id, u32 contai
|
|||
return CELL_AVC2_ERROR_INVALID_ARGUMENT;
|
||||
}
|
||||
|
||||
bool is_invalid = false;
|
||||
|
||||
if (init_param->video_param.frame_mode == CELL_SYSUTIL_AVC2_FRAME_MODE_NORMAL)
|
||||
{
|
||||
if (init_param->video_param.max_video_windows == 0 || init_param->video_param.max_video_windows > 6)
|
||||
|
|
Loading…
Add table
Reference in a new issue