Browse Source
Merge pull request #2733 from yuriks/cmake-cleanup
Merge pull request #2733 from yuriks/cmake-cleanup
Dependencies and build system cleanuppull/15/merge
committed by
GitHub
32 changed files with 111 additions and 104 deletions
-
7src/audio_core/CMakeLists.txt
-
8src/citra/CMakeLists.txt
-
1src/citra/citra.cpp
-
4src/citra/config.cpp
-
4src/citra/config.h
-
14src/citra/emu_window/emu_window_sdl2.cpp
-
6src/citra_qt/CMakeLists.txt
-
6src/citra_qt/bootmanager.cpp
-
1src/citra_qt/main.cpp
-
4src/common/CMakeLists.txt
-
2src/common/common_funcs.h
-
6src/common/hash.cpp
-
2src/common/x64/cpu_detect.cpp
-
21src/core/3ds.h
-
7src/core/CMakeLists.txt
-
8src/core/frontend/emu_window.cpp
-
2src/core/frontend/emu_window.h
-
20src/core/frontend/framebuffer_layout.cpp
-
11src/core/frontend/framebuffer_layout.h
-
1src/core/hle/applets/mii_selector.cpp
-
1src/core/hle/applets/swkbd.cpp
-
2src/core/hle/service/gsp_gpu.cpp
-
2src/core/settings.cpp
-
2src/core/tracer/recorder.cpp
-
2src/core/tracer/recorder.h
-
6src/input_common/CMakeLists.txt
-
5src/tests/CMakeLists.txt
-
12src/video_core/CMakeLists.txt
-
20src/video_core/renderer_opengl/gl_rasterizer_cache.cpp
-
10src/video_core/renderer_opengl/renderer_opengl.cpp
-
3src/video_core/renderer_opengl/renderer_opengl.h
-
15src/video_core/video_core.h
@ -0,0 +1,21 @@ |
|||||
|
// Copyright 2017 Citra Emulator Project |
||||
|
// Licensed under GPLv2 or any later version |
||||
|
// Refer to the license.txt file included. |
||||
|
|
||||
|
#pragma once |
||||
|
|
||||
|
namespace Core { |
||||
|
|
||||
|
// 3DS Video Constants |
||||
|
// ------------------- |
||||
|
|
||||
|
// NOTE: The LCDs actually rotate the image 90 degrees when displaying. Because of that the |
||||
|
// framebuffers in video memory are stored in column-major order and rendered sideways, causing |
||||
|
// the widths and heights of the framebuffers read by the LCD to be switched compared to the |
||||
|
// heights and widths of the screens listed here. |
||||
|
constexpr int kScreenTopWidth = 400; ///< 3DS top screen width |
||||
|
constexpr int kScreenTopHeight = 240; ///< 3DS top screen height |
||||
|
constexpr int kScreenBottomWidth = 320; ///< 3DS bottom screen width |
||||
|
constexpr int kScreenBottomHeight = 240; ///< 3DS bottom screen height |
||||
|
|
||||
|
} // namespace Core |
||||
Write
Preview
Loading…
Cancel
Save
Reference in new issue