mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-04 14:01:25 +12:00
cellScreenshot: fix overlay scaling (#9867)
* cellScreenshot: fix overlay scaling
This commit is contained in:
parent
48cd56acc2
commit
0b5c6350ae
3 changed files with 33 additions and 10 deletions
|
@ -248,9 +248,7 @@ std::unique_ptr<gs_frame> gui_application::get_gs_frame()
|
|||
{
|
||||
extern const std::unordered_map<video_resolution, std::pair<int, int>, value_hash<video_resolution>> g_video_out_resolution_map;
|
||||
|
||||
const auto size = g_video_out_resolution_map.at(g_cfg.video.resolution);
|
||||
int w = size.first;
|
||||
int h = size.second;
|
||||
auto [w, h] = g_video_out_resolution_map.at(g_cfg.video.resolution);
|
||||
|
||||
if (m_gui_settings->GetValue(gui::gs_resize).toBool())
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue