diff options
| author | 2017-05-28 01:01:00 -0700 | |
|---|---|---|
| committer | 2017-05-28 01:01:00 -0700 | |
| commit | 4caa2bad9d57c97aa749d3a44f6be6f593bb798b (patch) | |
| tree | ba001a9832ee8965963d17fd4e93e9222e1153de /src/core/3ds.h | |
| parent | Merge pull request #2732 from yuriks/add-fmt (diff) | |
| parent | CMake: Correct inter-module dependencies and library visibility (diff) | |
| download | yuzu-4caa2bad9d57c97aa749d3a44f6be6f593bb798b.tar.gz yuzu-4caa2bad9d57c97aa749d3a44f6be6f593bb798b.tar.xz yuzu-4caa2bad9d57c97aa749d3a44f6be6f593bb798b.zip | |
Merge pull request #2733 from yuriks/cmake-cleanup
Dependencies and build system cleanup
Diffstat (limited to 'src/core/3ds.h')
| -rw-r--r-- | src/core/3ds.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/core/3ds.h b/src/core/3ds.h new file mode 100644 index 000000000..8715e27db --- /dev/null +++ b/src/core/3ds.h | |||
| @@ -0,0 +1,21 @@ | |||
| 1 | // Copyright 2017 Citra Emulator Project | ||
| 2 | // Licensed under GPLv2 or any later version | ||
| 3 | // Refer to the license.txt file included. | ||
| 4 | |||
| 5 | #pragma once | ||
| 6 | |||
| 7 | namespace Core { | ||
| 8 | |||
| 9 | // 3DS Video Constants | ||
| 10 | // ------------------- | ||
| 11 | |||
| 12 | // NOTE: The LCDs actually rotate the image 90 degrees when displaying. Because of that the | ||
| 13 | // framebuffers in video memory are stored in column-major order and rendered sideways, causing | ||
| 14 | // the widths and heights of the framebuffers read by the LCD to be switched compared to the | ||
| 15 | // heights and widths of the screens listed here. | ||
| 16 | constexpr int kScreenTopWidth = 400; ///< 3DS top screen width | ||
| 17 | constexpr int kScreenTopHeight = 240; ///< 3DS top screen height | ||
| 18 | constexpr int kScreenBottomWidth = 320; ///< 3DS bottom screen width | ||
| 19 | constexpr int kScreenBottomHeight = 240; ///< 3DS bottom screen height | ||
| 20 | |||
| 21 | } // namespace Core | ||