Fix incorrect handling of auto IR

Some lines of code in Dolphin just plainly grabbed the value of
g_ActiveConfig.iEFBScale, which resulted in Auto being treated as
0x rather than the actual automatically selected scale.
This commit is contained in:
JosJuice
2017-11-03 16:04:46 +01:00
parent c8710d0861
commit a310cbec8e
6 changed files with 11 additions and 4 deletions

View File

@ -101,6 +101,8 @@ public:
std::tuple<TargetRectangle, TargetRectangle>
ConvertStereoRectangle(const TargetRectangle& rc) const;
unsigned int GetEFBScale() const;
// Use this to upscale native EFB coordinates to IDEAL internal resolution
int EFBToScaledX(int x) const;
int EFBToScaledY(int y) const;