diff options
| author | 2017-05-27 18:06:59 -0700 | |
|---|---|---|
| committer | 2017-05-27 18:41:24 -0700 | |
| commit | eb10f250254a0153abd789e49a36945d996631a7 (patch) | |
| tree | 5f7a0e290892f1137ccd28420991ef7981377cf6 /src/citra_qt/bootmanager.cpp | |
| parent | OpenGL: Remove unused RendererOpenGL fields (diff) | |
| download | yuzu-eb10f250254a0153abd789e49a36945d996631a7.tar.gz yuzu-eb10f250254a0153abd789e49a36945d996631a7.tar.xz yuzu-eb10f250254a0153abd789e49a36945d996631a7.zip | |
Move screen size constants from video_core to core
video_core didn't even properly use them, and they were the source of
many otherwise-unnecessary dependencies from core to video_core.
Diffstat (limited to 'src/citra_qt/bootmanager.cpp')
| -rw-r--r-- | src/citra_qt/bootmanager.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/citra_qt/bootmanager.cpp b/src/citra_qt/bootmanager.cpp index bae576d6a..06b62f44c 100644 --- a/src/citra_qt/bootmanager.cpp +++ b/src/citra_qt/bootmanager.cpp | |||
| @@ -12,12 +12,11 @@ | |||
| 12 | #include "common/microprofile.h" | 12 | #include "common/microprofile.h" |
| 13 | #include "common/scm_rev.h" | 13 | #include "common/scm_rev.h" |
| 14 | #include "common/string_util.h" | 14 | #include "common/string_util.h" |
| 15 | #include "core/3ds.h" | ||
| 15 | #include "core/core.h" | 16 | #include "core/core.h" |
| 16 | #include "core/settings.h" | 17 | #include "core/settings.h" |
| 17 | #include "input_common/keyboard.h" | 18 | #include "input_common/keyboard.h" |
| 18 | #include "input_common/main.h" | 19 | #include "input_common/main.h" |
| 19 | #include "video_core/debug_utils/debug_utils.h" | ||
| 20 | #include "video_core/video_core.h" | ||
| 21 | 20 | ||
| 22 | EmuThread::EmuThread(GRenderWindow* render_window) | 21 | EmuThread::EmuThread(GRenderWindow* render_window) |
| 23 | : exec_step(false), running(false), stop_run(false), render_window(render_window) {} | 22 | : exec_step(false), running(false), stop_run(false), render_window(render_window) {} |
| @@ -266,8 +265,7 @@ void GRenderWindow::InitRenderTarget() { | |||
| 266 | child = new GGLWidgetInternal(fmt, this); | 265 | child = new GGLWidgetInternal(fmt, this); |
| 267 | QBoxLayout* layout = new QHBoxLayout(this); | 266 | QBoxLayout* layout = new QHBoxLayout(this); |
| 268 | 267 | ||
| 269 | resize(VideoCore::kScreenTopWidth, | 268 | resize(Core::kScreenTopWidth, Core::kScreenTopHeight + Core::kScreenBottomHeight); |
| 270 | VideoCore::kScreenTopHeight + VideoCore::kScreenBottomHeight); | ||
| 271 | layout->addWidget(child); | 269 | layout->addWidget(child); |
| 272 | layout->setMargin(0); | 270 | layout->setMargin(0); |
| 273 | setLayout(layout); | 271 | setLayout(layout); |