early-access version 1440
This commit is contained in:
parent
0f198102b2
commit
d451d67207
4 changed files with 5 additions and 8 deletions
|
@ -1,7 +1,7 @@
|
||||||
yuzu emulator early access
|
yuzu emulator early access
|
||||||
=============
|
=============
|
||||||
|
|
||||||
This is the source code for early-access 1437.
|
This is the source code for early-access 1440.
|
||||||
|
|
||||||
## Legal Notice
|
## Legal Notice
|
||||||
|
|
||||||
|
|
|
@ -206,6 +206,8 @@ if (MSVC)
|
||||||
else()
|
else()
|
||||||
target_compile_options(common PRIVATE
|
target_compile_options(common PRIVATE
|
||||||
-Werror
|
-Werror
|
||||||
|
|
||||||
|
$<$<CXX_COMPILER_ID:Clang>:-fsized-deallocation>
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
|
@ -653,6 +653,8 @@ else()
|
||||||
$<$<CXX_COMPILER_ID:GNU>:-Werror=unused-but-set-parameter>
|
$<$<CXX_COMPILER_ID:GNU>:-Werror=unused-but-set-parameter>
|
||||||
$<$<CXX_COMPILER_ID:GNU>:-Werror=unused-but-set-variable>
|
$<$<CXX_COMPILER_ID:GNU>:-Werror=unused-but-set-variable>
|
||||||
|
|
||||||
|
$<$<CXX_COMPILER_ID:Clang>:-fsized-deallocation>
|
||||||
|
|
||||||
-Wno-sign-conversion
|
-Wno-sign-conversion
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|
|
@ -1005,12 +1005,6 @@ constexpr std::array<float, 3 * 2> up_arrow_symbol = {
|
||||||
0.0f, -3.0f, -3.0f, 2.0f, 3.0f, 2.0f,
|
0.0f, -3.0f, -3.0f, 2.0f, 3.0f, 2.0f,
|
||||||
};
|
};
|
||||||
|
|
||||||
constexpr std::array<float, 13 * 2> up_arrow = {
|
|
||||||
9.4f, -9.8f, 9.4f, -10.2f, 8.9f, -29.8f, 8.5f, -30.0f, 8.1f,
|
|
||||||
-30.1f, 7.7f, -30.1f, -8.6f, -30.0f, -9.0f, -29.8f, -9.3f, -29.5f,
|
|
||||||
-9.5f, -29.1f, -9.5f, -28.7f, -9.1f, -9.1f, -8.8f, -8.8f,
|
|
||||||
};
|
|
||||||
|
|
||||||
constexpr std::array<float, 64 * 2> trigger_button = {
|
constexpr std::array<float, 64 * 2> trigger_button = {
|
||||||
5.5f, -12.6f, 5.8f, -12.6f, 6.7f, -12.5f, 8.1f, -12.3f, 8.6f, -12.2f, 9.2f, -12.0f,
|
5.5f, -12.6f, 5.8f, -12.6f, 6.7f, -12.5f, 8.1f, -12.3f, 8.6f, -12.2f, 9.2f, -12.0f,
|
||||||
9.5f, -11.9f, 9.9f, -11.8f, 10.6f, -11.5f, 11.0f, -11.3f, 11.2f, -11.2f, 11.4f, -11.1f,
|
9.5f, -11.9f, 9.9f, -11.8f, 10.6f, -11.5f, 11.0f, -11.3f, 11.2f, -11.2f, 11.4f, -11.1f,
|
||||||
|
@ -2527,7 +2521,6 @@ void PlayerControlPreview::DrawArrowButton(QPainter& p, const QPointF center,
|
||||||
void PlayerControlPreview::DrawTriggerButton(QPainter& p, const QPointF center,
|
void PlayerControlPreview::DrawTriggerButton(QPainter& p, const QPointF center,
|
||||||
const Direction direction, bool pressed) {
|
const Direction direction, bool pressed) {
|
||||||
std::array<QPointF, trigger_button.size() / 2> qtrigger_button;
|
std::array<QPointF, trigger_button.size() / 2> qtrigger_button;
|
||||||
QPoint offset;
|
|
||||||
|
|
||||||
for (std::size_t point = 0; point < trigger_button.size() / 2; ++point) {
|
for (std::size_t point = 0; point < trigger_button.size() / 2; ++point) {
|
||||||
switch (direction) {
|
switch (direction) {
|
||||||
|
|
Loading…
Reference in a new issue