summaryrefslogtreecommitdiffstats
path: root/src/core/main.cpp
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2020-06-07 20:44:43 +0200
committereray orçunus <erayorcunus@gmail.com>2020-06-07 20:44:54 +0200
commite07b6fdce73884de93dbefd7056b3a04d2f4898c (patch)
tree203809f8025866131892e0c17b05fd0c9ec05623 /src/core/main.cpp
parentfix (diff)
downloadre3-e07b6fdce73884de93dbefd7056b3a04d2f4898c.tar
re3-e07b6fdce73884de93dbefd7056b3a04d2f4898c.tar.gz
re3-e07b6fdce73884de93dbefd7056b3a04d2f4898c.tar.bz2
re3-e07b6fdce73884de93dbefd7056b3a04d2f4898c.tar.lz
re3-e07b6fdce73884de93dbefd7056b3a04d2f4898c.tar.xz
re3-e07b6fdce73884de93dbefd7056b3a04d2f4898c.tar.zst
re3-e07b6fdce73884de93dbefd7056b3a04d2f4898c.zip
Diffstat (limited to 'src/core/main.cpp')
-rw-r--r--src/core/main.cpp11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/core/main.cpp b/src/core/main.cpp
index 6ffaabf6..2ea15589 100644
--- a/src/core/main.cpp
+++ b/src/core/main.cpp
@@ -234,18 +234,13 @@ DoFade(void)
fadeColor.a = alpha;
}
+ // This is CCamera::GetScreenRect in VC
if(TheCamera.m_WideScreenOn){
- // what's this?
float y = SCREEN_HEIGHT/2 * TheCamera.m_ScreenReductionPercentage/100.0f;
rect.left = 0.0f;
rect.right = SCREEN_WIDTH;
-#ifdef FIX_BUGS
- rect.top = y - SCREEN_SCALE_Y(8.0f);
- rect.bottom = SCREEN_HEIGHT - y - SCREEN_SCALE_Y(8.0f);
-#else
- rect.top = y - 8.0f;
- rect.bottom = SCREEN_HEIGHT - y - 8.0f;
-#endif // FIX_BUGS
+ rect.top = y - SCREEN_SCALE_Y(22.0f);
+ rect.bottom = SCREEN_HEIGHT - y - SCREEN_SCALE_Y(14.0f);
}else{
rect.left = 0.0f;
rect.right = SCREEN_WIDTH;