Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[HOTFIX] videoOut: Resolve 'auto' aspect ratio #7659

Merged
merged 1 commit into from Mar 1, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 6 additions & 0 deletions rpcs3/Emu/Cell/Modules/cellVideoOut.cpp
Expand Up @@ -191,6 +191,12 @@ error_code cellVideoOutConfigure(u32 videoOut, vm::ptr<CellVideoOutConfiguration
conf->resolution_y = u32(res_info.second);
conf->state = 1;

if (conf->aspect == CELL_VIDEO_OUT_ASPECT_AUTO)
{
// Resolve 'auto' option to actual aspect ratio
conf->aspect = g_video_out_aspect_id.at(g_cfg.video.aspect_ratio);
}

return CELL_OK;
}

Expand Down