mirror of
https://github.com/libretro/RetroArch
synced 2025-03-02 19:13:34 +00:00
Merge pull request #5877 from clienthax/ps3res
[PS3] Possible fix for 0x0 resolution
This commit is contained in:
commit
d840625fa9
@ -129,10 +129,11 @@ static void gfx_ctx_ps3_get_available_resolutions(void)
|
||||
* make the last resolution
|
||||
that was added to the list (the highest resolution)
|
||||
the default resolution */
|
||||
if (global->console.screen.resolutions.current.id > num_videomodes
|
||||
|| defaultresolution)
|
||||
global->console.screen.resolutions.current.idx =
|
||||
global->console.screen.resolutions.count - 1;
|
||||
if (global->console.screen.resolutions.current.id > num_videomodes || defaultresolution)
|
||||
{
|
||||
global->console.screen.resolutions.current.idx = resolution_count - 1;
|
||||
global->console.screen.resolutions.current.id = global->console.screen.resolutions.list[global->console.screen.resolutions.current.idx];
|
||||
}
|
||||
|
||||
global->console.screen.resolutions.check = true;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user