diff --git a/rpcs3/Emu/Cell/Modules/cellSysutilAvc2.cpp b/rpcs3/Emu/Cell/Modules/cellSysutilAvc2.cpp index 1d5e116ddf..e3bad96060 100644 --- a/rpcs3/Emu/Cell/Modules/cellSysutilAvc2.cpp +++ b/rpcs3/Emu/Cell/Modules/cellSysutilAvc2.cpp @@ -424,6 +424,9 @@ error_code cellSysutilAvc2InitParam(u16 version, vm::ptravc_init_param_version = version; + switch (version) { case 100: @@ -431,45 +434,9 @@ error_code cellSysutilAvc2InitParam(u16 version, vm::ptravc_init_param_version = version; - - if (option->media_type == CELL_SYSUTIL_AVC2_VOICE_CHAT) - { - option->max_players = 16; - } - else if (option->media_type == CELL_SYSUTIL_AVC2_VIDEO_CHAT) - { - if (option->video_param.frame_mode == CELL_SYSUTIL_AVC2_FRAME_MODE_NORMAL) - { - option->max_players = 6; - } - else if (option->video_param.frame_mode == CELL_SYSUTIL_AVC2_FRAME_MODE_INTRA_ONLY) - { - option->max_players = 16; - } - else - { - cellSysutilAvc2.error("Unknown frame mode 0x%x", option->video_param.frame_mode); - } - } - else - { - cellSysutilAvc2.error("Unknown media type 0x%x", option->media_type); - } break; - } default: - { - return { CELL_AVC2_ERROR_INVALID_ARGUMENT, version }; - } + return CELL_AVC2_ERROR_INVALID_ARGUMENT; } return CELL_OK;