mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 05:40:01 -06:00
Merge pull request #4739 from AdmiralCurtiss/auto-adjust-window-size-16-9
Make the "Auto Adjust Window Size" option respect the current game's aspect ratio.
This commit is contained in:
@ -19,6 +19,7 @@
|
||||
#include <mutex>
|
||||
#include <string>
|
||||
#include <thread>
|
||||
#include <tuple>
|
||||
#include <vector>
|
||||
|
||||
#include "Common/CommonTypes.h"
|
||||
@ -94,6 +95,7 @@ public:
|
||||
|
||||
static const TargetRectangle& GetTargetRectangle() { return target_rc; }
|
||||
static float CalculateDrawAspectRatio(int target_width, int target_height);
|
||||
static std::tuple<float, float> ScaleToDisplayAspectRatio(int width, int height);
|
||||
static TargetRectangle CalculateFrameDumpDrawRectangle();
|
||||
static void UpdateDrawRectangle();
|
||||
|
||||
|
Reference in New Issue
Block a user