summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/Src/GlobalControl.cpp
diff options
context:
space:
mode:
authordeath2droid <death2droid@gmail.com>2009-09-02 21:30:19 +0000
committerdeath2droid <death2droid@gmail.com>2009-09-02 21:30:19 +0000
commit2be5d013e01bc8c6461a6b2f3ffc154c2b358cae (patch)
treea32949e6c3fb65625139873c4859fbeddc00169c /Source/Core/VideoCommon/Src/GlobalControl.cpp
parent1e016dd5228b6d911b9d3ba9f8c2e6fd12a52077 (diff)
Add the wide screen hack by <---Does the person even have a user name?
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4171 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/VideoCommon/Src/GlobalControl.cpp')
-rw-r--r--Source/Core/VideoCommon/Src/GlobalControl.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/Src/GlobalControl.cpp b/Source/Core/VideoCommon/Src/GlobalControl.cpp
index 53f29bc932..00cd8710a0 100644
--- a/Source/Core/VideoCommon/Src/GlobalControl.cpp
+++ b/Source/Core/VideoCommon/Src/GlobalControl.cpp
@@ -24,6 +24,7 @@ static bool g_ProjHack0;
static ProjectionHack g_ProjHack1;
static ProjectionHack g_ProjHack2;
static bool g_FreeLook;
+static bool g_Widescreen;
} // Namespace
@@ -47,6 +48,11 @@ void Projection_SetFreeLook(bool enabled)
g_FreeLook = enabled;
}
+void Projection_SetWidescreen(bool enabled)
+{
+ g_Widescreen = enabled;
+}
+
bool Projection_GetHack0()
{
return g_ProjHack0;
@@ -66,3 +72,8 @@ bool Projection_GetFreeLook()
{
return g_FreeLook;
}
+
+bool Projection_GetWidescreen()
+{
+ return g_Widescreen;
+}