Fix code to comply with coding style
This commit is contained in:
parent
0faba3b018
commit
739ede2242
|
@ -46,7 +46,6 @@
|
||||||
#include "VideoCommon/VideoConfig.h"
|
#include "VideoCommon/VideoConfig.h"
|
||||||
#include "VideoCommon/XFMemory.h"
|
#include "VideoCommon/XFMemory.h"
|
||||||
|
|
||||||
|
|
||||||
// TODO: Move these out of here.
|
// TODO: Move these out of here.
|
||||||
int frameCount;
|
int frameCount;
|
||||||
int OSDChoice;
|
int OSDChoice;
|
||||||
|
@ -489,6 +488,7 @@ void Renderer::UpdateDrawRectangle(int backbuffer_width, int backbuffer_height)
|
||||||
Ratio = (WinWidth / WinHeight) / VideoInterface::GetAspectRatio(g_aspect_wide);
|
Ratio = (WinWidth / WinHeight) / VideoInterface::GetAspectRatio(g_aspect_wide);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (g_ActiveConfig.iAspectRatio != ASPECT_STRETCH)
|
if (g_ActiveConfig.iAspectRatio != ASPECT_STRETCH)
|
||||||
{
|
{
|
||||||
if (Ratio > 1.0f)
|
if (Ratio > 1.0f)
|
||||||
|
|
|
@ -40,7 +40,6 @@ extern int OSDChoice;
|
||||||
|
|
||||||
extern bool bLastFrameDumped;
|
extern bool bLastFrameDumped;
|
||||||
|
|
||||||
|
|
||||||
// Renderer really isn't a very good name for this class - it's more like "Misc".
|
// Renderer really isn't a very good name for this class - it's more like "Misc".
|
||||||
// The long term goal is to get rid of this class and replace it with others that make
|
// The long term goal is to get rid of this class and replace it with others that make
|
||||||
// more sense.
|
// more sense.
|
||||||
|
@ -137,7 +136,6 @@ public:
|
||||||
|
|
||||||
static Common::Event s_screenshotCompleted;
|
static Common::Event s_screenshotCompleted;
|
||||||
|
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
|
||||||
static void CalculateTargetScale(int x, int y, int* scaledX, int* scaledY);
|
static void CalculateTargetScale(int x, int y, int* scaledX, int* scaledY);
|
||||||
|
|
Loading…
Reference in New Issue