Commit graph

27357 commits

Author SHA1 Message Date
flodavid 9bba778d15 Rework themes to easily use light/dark palette, using only different icons
- Renamed themes:
  - "colorful" to "default" and "colorful_dark" to "default_dark"
  - "default" to "monochrome" and "default_dark" to "monochrome_dark"
  - "colorful_midnight_blue" to "qdarkstyle_midnight_blue"
  - "qdarkstyle_midnight_blue" to "qdarkstyle_midnight_blue_monochrome"
  - qdarkstyle is renamed from "Dark" to "Mine Shaft" in the UI
- default and monochrome themes all use the same qss stylesheet
- Remove the ability to select "default_dark" directly
    - Default has better support for light and dark
    - Controller and Keyboard applets icons and style adapt to dark mode
- Add "qdarkstyle_monochrome" theme
- Remove duplicated icon files
2024-04-03 21:06:48 +02:00
flodavid 0b2409d1bd Automatic dark theme switching for Windows and Linux
- Windows dark theme uses "fusion" style, which is better suited, but has minor differences
- Improve OS theme detection
  - Linux:
    - Listen for OS color schemes changes on D-Bus
    - Read OS scheme for D-Bus. Fallback with gsettings, reading org.gnome.desktop.interface.
      First "color-scheme" key, then "gtk-theme". Finally, fallback to checking window palette
  - Windows (dark mode detection was not implemented before):
    - Force dark palette when OS uses dark mode by setting QT_QPA_PLATFORM to "windows:darkmode=2"
    - This enables to detect dark mode by checking the window palette
- Improve theming capabilites:
  - Linux uses custom palette when dark mode is detected.
    By using palette(xxx) in .qss files, there is no need to create a dark stylesheet
  - Allow themes to have stylesheet variants, dark.qss and light.qss
  - If current mode is dark, use dark icons for controller and keyboard applets
  - Add "dark" property to RendererStatusBarButton and GPUStatusBarButton, set to true when dark mode is used.
    Allows to have distinct colors for GPU API and accuracy buttons depending on dark mode or not
  - Enable all themes to have dark icon alternatives, not just "default" and "colorful"
    - If dark mode, icons are loaded from the directory "THEME-NAME_dark/icons"
  - If current mode is dark, use dark icons for controller and keyboard applets
  - Only qdarkstyle, qdarkstyle_midnight_blue, colorful_dark and
    colorful_midnight_blue used elements specific to dark themes
2024-04-03 21:06:48 +02:00
flodavid c889f1bd36 Load custom Qt themes from yuzu data directory
- Directory is qt_themes, each theme must be in one folder
    - It should contain a file "style.qss"
    - It may contain an "icons" sub-directory, to override included icons
      (with files like mytheme/icons/colorful/48x48/star.png for example)
    - Directories ending by "_dark" are reserved for dark variant icons.
      They are not listed as themes in the UI.
- If theme directory contains "dark" or "midnight", theme will be considered dark
2024-04-03 21:06:48 +02:00
zqpvr01 b911ac8516 Update README.md
All checks were successful
suyu-ci / Check REUSE Specification (push) Successful in 9s
codespell / Check for spelling errors (push) Successful in 11s
2024-04-02 15:29:13 +02:00
zqpvr01 715a3fc83b Update README.md
All checks were successful
codespell / Check for spelling errors (push) Successful in 11s
suyu-ci / Check REUSE Specification (push) Successful in 9s
2024-04-02 15:28:16 +02:00
zqpvr01 8032d67619 Upload files to "img"
All checks were successful
codespell / Check for spelling errors (push) Successful in 10s
suyu-ci / Check REUSE Specification (push) Successful in 9s
2024-04-02 15:25:23 +02:00
zqpvr01 1d4f0a78f6 revert 242114d862
All checks were successful
codespell / Check for spelling errors (push) Successful in 9s
suyu-ci / Check REUSE Specification (push) Successful in 10s
revert Upload files to "/"
2024-04-02 15:25:09 +02:00
zqpvr01 242114d862 Upload files to "/"
Some checks failed
codespell / Check for spelling errors (push) Successful in 11s
suyu-ci / Check REUSE Specification (push) Failing after 10s
2024-04-02 15:24:51 +02:00
Nikilite a3c8b29607
Updated the links for the Info Popup
All checks were successful
codespell / Check for spelling errors (push) Successful in 11s
suyu-ci / Check REUSE Specification (push) Successful in 10s
suyu verify / Verify Format (push) Successful in 2m26s
suyu verify / test build (linux-fresh, clang) (push) Successful in 10m47s
suyu verify / android (push) Successful in 17m0s
suyu verify / test build (linux-fresh, linux) (push) Successful in 19m2s
2024-04-01 16:56:07 -04:00
Lucas Clemente Vella 4015b1d397 Solves warning about GuestMemory having internal linkage.
All checks were successful
codespell / Check for spelling errors (push) Successful in 11s
suyu-ci / Check REUSE Specification (push) Successful in 10s
suyu verify / Verify Format (push) Successful in 2m27s
suyu verify / android (push) Successful in 15m19s
suyu verify / test build (linux-fresh, clang) (push) Successful in 21m43s
suyu verify / test build (linux-fresh, linux) (push) Successful in 29m55s
It is very hard to explain why this public interface class was defined
in an anonymous namespace inside a header file.
2024-04-01 16:02:12 +02:00
voidanix d3f67d1e9c Fix GCC builds with Debug build type
All checks were successful
codespell / Check for spelling errors (push) Successful in 11s
suyu-ci / Check REUSE Specification (push) Successful in 10s
suyu verify / Verify Format (push) Successful in 1m28s
suyu verify / test build (linux-fresh, clang) (push) Successful in 11m22s
suyu verify / android (push) Successful in 16m53s
suyu verify / test build (linux-fresh, linux) (push) Successful in 25m33s
When compiling with -DCMAKE_BUILD_TYPE=Debug, GCC would (correctly) fail to
compile intrinsics in stb and host1x due to lack of optimizations.

Sadly, the compilation error given is bogus and Clang completing the builds
without issues does raise some eyebrows.

Therefore, force optimizations for the offending files under GCC when
creating Debug builds.

Signed-off-by: voidanix <voidanix@keyedlimepie.org>
2024-04-01 01:31:43 +02:00
Crimson-Hawk c25bcb6083 Merge branch 'dev' into dev
All checks were successful
codespell / Check for spelling errors (pull_request) Successful in 11s
suyu-ci / Check REUSE Specification (pull_request) Successful in 12s
suyu verify / Verify Format (pull_request) Successful in 2m45s
suyu verify / android (pull_request) Successful in 17m20s
suyu verify / test build (linux-fresh, clang) (pull_request) Successful in 23m37s
suyu verify / test build (linux-fresh, linux) (pull_request) Successful in 32m58s
suyu-ci / Check REUSE Specification (push) Successful in 10s
suyu verify / Verify Format (push) Successful in 1m36s
suyu verify / test build (linux-fresh, clang) (push) Successful in 7m24s
suyu verify / test build (linux-fresh, linux) (push) Successful in 14m9s
suyu verify / android (push) Successful in 15m36s
codespell / Check for spelling errors (push) Successful in 11s
2024-03-31 00:45:46 +01:00
null 7215ac9543 Fix NROs crashing and loading infinitely
All checks were successful
codespell / Check for spelling errors (push) Successful in 11s
suyu-ci / Check REUSE Specification (push) Successful in 10s
suyu verify / Verify Format (push) Successful in 1m31s
suyu verify / test build (linux-fresh, clang) (push) Successful in 11m1s
suyu verify / test build (linux-fresh, linux) (push) Successful in 14m17s
suyu verify / android (push) Successful in 33m48s
2024-03-31 00:43:18 +01:00
Exverge 39eea71e62
fix: resume application when library applets are closed
Some checks failed
suyu-ci / Check REUSE Specification (pull_request) Successful in 10s
codespell / Check for spelling errors (pull_request) Successful in 18s
suyu verify / Verify Format (pull_request) Successful in 1m33s
suyu verify / android (pull_request) Successful in 17m15s
suyu verify / test build (linux-fresh, clang) (pull_request) Successful in 17m37s
suyu verify / test build (linux-fresh, linux) (pull_request) Successful in 22m6s
suyu verify / test build (linux-fresh, clang) (push) Blocked by required conditions
suyu verify / test build (linux-fresh, linux) (push) Blocked by required conditions
suyu verify / android (push) Blocked by required conditions
codespell / Check for spelling errors (push) Successful in 9s
suyu-ci / Check REUSE Specification (push) Successful in 10s
suyu verify / Verify Format (push) Has been cancelled
2024-03-30 15:54:36 -04:00
Lucas Clemente Vella 48e86d6e84 Fixes issue #94: setting Vulkan::Headers before Qt6 can do it
All checks were successful
codespell / Check for spelling errors (pull_request) Successful in 11s
suyu-ci / Check REUSE Specification (pull_request) Successful in 10s
suyu verify / Verify Format (pull_request) Successful in 1m29s
suyu verify / test build (linux-fresh, clang) (pull_request) Successful in 8m20s
suyu verify / test build (linux-fresh, linux) (pull_request) Successful in 17m27s
suyu verify / android (pull_request) Successful in 49m18s
codespell / Check for spelling errors (push) Successful in 12s
suyu-ci / Check REUSE Specification (push) Successful in 10s
suyu verify / Verify Format (push) Successful in 2m27s
suyu verify / test build (linux-fresh, clang) (push) Successful in 5m15s
suyu verify / test build (linux-fresh, linux) (push) Successful in 14m16s
suyu verify / android (push) Successful in 23m30s
2024-03-30 15:13:23 +00:00
Fijxu ba3539c517
Use CC0-1.0 for images under ./img
All checks were successful
codespell / Check for spelling errors (push) Successful in 11s
suyu-ci / Check REUSE Specification (push) Successful in 15s
2024-03-29 21:31:40 -03:00
Hustler One 66cf0c1b0c
Clarify that we indeed have builds
Some checks failed
codespell / Check for spelling errors (push) Successful in 11s
suyu-ci / Check REUSE Specification (push) Failing after 10s
Cherry-picked from #65
2024-03-29 18:00:41 -04:00
zqpvr01 444a200eef Upload files to "img"
Some checks failed
codespell / Check for spelling errors (push) Successful in 10s
suyu-ci / Check REUSE Specification (push) Failing after 10s
2024-03-29 19:19:28 +01:00
zqpvr01 2a672fac30 revert 9e223759e0
All checks were successful
codespell / Check for spelling errors (push) Successful in 11s
suyu-ci / Check REUSE Specification (push) Successful in 10s
revert Add img
2024-03-29 19:19:11 +01:00
zqpvr01 9e223759e0 Add img
All checks were successful
suyu-ci / Check REUSE Specification (push) Successful in 10s
codespell / Check for spelling errors (push) Successful in 15s
2024-03-29 19:18:38 +01:00
zqpvr01 b5c02fe14a Update README.md
All checks were successful
codespell / Check for spelling errors (push) Successful in 12s
suyu-ci / Check REUSE Specification (push) Successful in 10s
2024-03-29 17:31:07 +01:00
Lucas Clemente Vella 36ede797f3 Vulkan validation error fix.
All checks were successful
codespell / Check for spelling errors (push) Successful in 11s
suyu-ci / Check REUSE Specification (push) Successful in 10s
suyu verify / Verify Format (push) Successful in 2m19s
suyu verify / test build (linux-fresh, clang) (push) Successful in 8m11s
suyu verify / test build (linux-fresh, linux) (push) Successful in 23m41s
suyu verify / android (push) Successful in 27m27s
Different image usage flags between image creation and image view
creation.
2024-03-29 16:35:21 +01:00
Fijxu ce8f3e802e
Use proper SPDX-FileCopyrightText for Sudachi. Corrects db647d915d
All checks were successful
codespell / Check for spelling errors (push) Successful in 12s
suyu-ci / Check REUSE Specification (push) Successful in 10s
suyu verify / Verify Format (push) Successful in 2m14s
suyu verify / test build (linux-fresh, clang) (push) Successful in 8m41s
suyu verify / test build (linux-fresh, linux) (push) Successful in 22m45s
suyu verify / android (push) Successful in 23m18s
2024-03-29 01:05:07 -03:00
ilonachan 040893da00 formatting
All checks were successful
codespell / Check for spelling errors (pull_request) Successful in 11s
suyu-ci / Check REUSE Specification (pull_request) Successful in 10s
suyu verify / Verify Format (pull_request) Successful in 1m30s
suyu verify / test build (linux-fresh, clang) (pull_request) Successful in 8m1s
suyu verify / android (pull_request) Successful in 37m41s
suyu verify / test build (linux-fresh, linux) (pull_request) Successful in 38m34s
2024-03-28 20:12:04 +01:00
Kelebek1 876d7f90b6 Add option to log synchronously, add tooltip to log filter. 2024-03-28 20:12:04 +01:00
Lucas Clemente Vella db647d915d Including sudachi Emulator Project as a copyright owner.
All checks were successful
codespell / Check for spelling errors (pull_request) Successful in 12s
suyu-ci / Check REUSE Specification (pull_request) Successful in 10s
suyu verify / Verify Format (pull_request) Successful in 2m25s
suyu verify / test build (linux-fresh, clang) (pull_request) Successful in 7m43s
codespell / Check for spelling errors (push) Successful in 11s
suyu-ci / Check REUSE Specification (push) Successful in 10s
suyu verify / test build (linux-fresh, linux) (pull_request) Successful in 19m24s
suyu verify / Verify Format (push) Successful in 1m27s
suyu verify / android (pull_request) Successful in 23m9s
suyu verify / test build (linux-fresh, clang) (push) Successful in 16m57s
suyu verify / test build (linux-fresh, linux) (push) Successful in 18m21s
suyu verify / android (push) Successful in 23m44s
To the files where sudachi changes were ported into in the parent
commit.
2024-03-28 11:12:03 +00:00
Jarrod Norwell b3e989343d Added support for Princess Peach: Showtime! 2024-03-28 11:11:57 +00:00
ivchodev 09578d522b revert 925ce2fad3
All checks were successful
codespell / Check for spelling errors (push) Successful in 11s
suyu-ci / Check REUSE Specification (push) Successful in 10s
suyu verify / Verify Format (push) Successful in 1m24s
suyu verify / test build (linux-fresh, linux) (push) Successful in 12m22s
suyu verify / android (push) Successful in 38m21s
suyu verify / test build (linux-fresh, clang) (push) Successful in 39m10s
suyu-ci / Check REUSE Specification (pull_request) Successful in 13s
codespell / Check for spelling errors (pull_request) Successful in 2m10s
Reverting potentially plagiarized code. The developer team did not sign off on this commit.
2024-03-26 18:38:52 +01:00
ivchodev 9b77efe2b4 revert eb306775c6
Some checks failed
suyu verify / test build (linux-fresh, clang) (push) Blocked by required conditions
suyu verify / test build (linux-fresh, linux) (push) Blocked by required conditions
suyu verify / android (push) Blocked by required conditions
codespell / Check for spelling errors (push) Successful in 10s
suyu-ci / Check REUSE Specification (push) Successful in 10s
suyu verify / Verify Format (push) Has been cancelled
revert fix clong format
2024-03-26 18:37:54 +01:00
ivchodev 224cac988e revert fd1ec51496
Some checks failed
suyu verify / test build (linux-fresh, clang) (push) Blocked by required conditions
suyu verify / test build (linux-fresh, linux) (push) Blocked by required conditions
suyu verify / android (push) Blocked by required conditions
codespell / Check for spelling errors (push) Successful in 10s
suyu-ci / Check REUSE Specification (push) Successful in 10s
suyu verify / Verify Format (push) Has been cancelled
revert try 2 fix clang
2024-03-26 18:37:35 +01:00
ivchodev 43c1a4c643 revert 77e9b7b59b
Some checks failed
suyu verify / test build (linux-fresh, clang) (push) Blocked by required conditions
suyu verify / test build (linux-fresh, linux) (push) Blocked by required conditions
suyu verify / android (push) Blocked by required conditions
codespell / Check for spelling errors (push) Successful in 12s
suyu-ci / Check REUSE Specification (push) Successful in 23s
suyu verify / Verify Format (push) Has been cancelled
revert try 3 fixing clang omfg its just a space
2024-03-26 18:36:29 +01:00
Crimson-Hawk 77e9b7b59b
try 3 fixing clang omfg its just a space
All checks were successful
suyu-ci / Check REUSE Specification (push) Successful in 10s
suyu verify / Verify Format (push) Successful in 2m24s
suyu verify / test build (linux-fresh, clang) (push) Successful in 8m7s
suyu verify / android (push) Successful in 28m37s
suyu verify / test build (linux-fresh, linux) (push) Successful in 12m50s
codespell / Check for spelling errors (push) Successful in 11s
2024-03-26 16:51:43 +08:00
Crimson-Hawk fd1ec51496
try 2 fix clang
Some checks failed
suyu-ci / Check REUSE Specification (push) Successful in 10s
codespell / Check for spelling errors (push) Successful in 19s
suyu verify / Verify Format (push) Failing after 1m24s
suyu verify / test build (linux-fresh, clang) (push) Has been skipped
suyu verify / test build (linux-fresh, linux) (push) Has been skipped
suyu verify / android (push) Has been skipped
2024-03-26 16:49:03 +08:00
Crimson-Hawk eb306775c6
fix clong format
Some checks failed
codespell / Check for spelling errors (push) Successful in 11s
suyu-ci / Check REUSE Specification (push) Successful in 10s
suyu verify / Verify Format (push) Failing after 1m32s
suyu verify / test build (linux-fresh, clang) (push) Has been skipped
suyu verify / test build (linux-fresh, linux) (push) Has been skipped
suyu verify / android (push) Has been skipped
2024-03-26 16:46:05 +08:00
Crimson-Hawk 925ce2fad3
preliminary fix to the peach game
Some checks failed
codespell / Check for spelling errors (push) Successful in 11s
suyu-ci / Check REUSE Specification (push) Successful in 18s
suyu verify / Verify Format (push) Failing after 1m24s
suyu verify / test build (linux-fresh, clang) (push) Has been skipped
suyu verify / test build (linux-fresh, linux) (push) Has been skipped
suyu verify / android (push) Has been skipped
2024-03-26 16:39:56 +08:00
Fijxu 068052078f
CI: Enable android artifacts
All checks were successful
codespell / Check for spelling errors (push) Successful in 14s
suyu-ci / Check REUSE Specification (push) Successful in 12s
suyu verify / Verify Format (push) Successful in 1m51s
suyu verify / test build (linux-fresh, clang) (push) Successful in 9m25s
suyu verify / test build (linux-fresh, linux) (push) Successful in 14m0s
suyu verify / android (push) Successful in 18m45s
2024-03-25 14:36:04 -03:00
zqpvr01 177bb48d6c Update README.md
All checks were successful
codespell / Check for spelling errors (push) Successful in 11s
suyu-ci / Check REUSE Specification (push) Successful in 10s
2024-03-25 16:59:22 +01:00
XForYouX 1f2bbfdf6d Increase Limit ( FSR Sharp , AUDIO ) Android
All checks were successful
codespell / Check for spelling errors (pull_request) Successful in 12s
suyu-ci / Check REUSE Specification (pull_request) Successful in 9s
codespell / Check for spelling errors (push) Successful in 11s
suyu-ci / Check REUSE Specification (push) Successful in 12s
Increase Limit FSR Sharp 
( 0 - 200 )
Increase Limit Audio ( 0-120 )
2024-03-25 12:50:04 +01:00
XForYouX 9b3fa0d3da Add 32:9 Android
Fix Issue Aspec Ratio For Android
2024-03-25 12:45:48 +01:00
XForYouX 77042ae6f7 Add 32:9 Android
This Fix Issue Aspec Ratio For Android
2024-03-25 12:42:41 +01:00
Crimson-Hawk dbee1677c4
MR 3 manual merge
All checks were successful
codespell / Check for spelling errors (push) Successful in 13s
suyu-ci / Check REUSE Specification (push) Successful in 11s
suyu verify / Verify Format (push) Successful in 1m25s
suyu verify / test build (linux-fresh, clang) (push) Successful in 8m29s
suyu verify / test build (linux-fresh, linux) (push) Successful in 12m49s
Merge branch 'RadsammyT-dev-fork' into dev
2024-03-25 16:22:29 +08:00
RadsammyT 4b06697954 Merge branch 'dev' into dev-fork
All checks were successful
suyu-ci / Check REUSE Specification (pull_request) Successful in 13s
codespell / Check for spelling errors (pull_request) Successful in 15s
suyu verify / Verify Format (pull_request) Successful in 1m57s
suyu verify / test build (linux-fresh, clang) (pull_request) Successful in 33m29s
suyu verify / test build (linux-fresh, linux) (pull_request) Successful in 38m12s
2024-03-25 05:34:28 +01:00
Fijxu d4375a21ef
Revert a9312c837e . Use proper GCC binary location and CCACHE changes in
All checks were successful
codespell / Check for spelling errors (push) Successful in 13s
suyu-ci / Check REUSE Specification (push) Successful in 12s
suyu verify / Verify Format (push) Successful in 1m26s
suyu verify / test build (linux-fresh, clang) (push) Successful in 34m22s
suyu verify / test build (linux-fresh, linux) (push) Successful in 46m33s
the CI
2024-03-25 01:16:32 -03:00
Fijxu 0c2bdc6f61
Fix wrong URL on DownloadExternals. Change Clang and GCC executables on CI scripts
Some checks failed
codespell / Check for spelling errors (push) Successful in 13s
suyu-ci / Check REUSE Specification (push) Successful in 11s
suyu verify / Verify Format (push) Successful in 1m30s
suyu verify / test build (linux-fresh, linux) (push) Failing after 2m57s
suyu verify / test build (linux-fresh, clang) (push) Failing after 5m30s
2024-03-24 23:15:50 -03:00
Exverge f033d7e1e9 Merge branch 'dev' into dev-fork
Some checks failed
codespell / Check for spelling errors (pull_request) Successful in 12s
suyu-ci / Check REUSE Specification (pull_request) Successful in 20s
suyu verify / Verify Format (pull_request) Successful in 1m28s
suyu verify / test build (linux-fresh, linux) (pull_request) Failing after 3m39s
suyu verify / test build (linux-fresh, clang) (pull_request) Failing after 4m5s
2024-03-25 01:27:14 +01:00
zqpvr01 ba411a17e0 change application id
Some checks failed
codespell / Check for spelling errors (push) Successful in 12s
suyu-ci / Check REUSE Specification (push) Successful in 11s
suyu verify / Verify Format (push) Successful in 1m36s
suyu verify / test build (linux-fresh, linux) (push) Failing after 2m48s
suyu verify / test build (linux-fresh, clang) (push) Failing after 4m3s
when we enable discord rpc for use this will change the yuzu icon to suyu.
2024-03-25 01:14:35 +01:00
Fijxu bbe9f86554
ci: Execute CI if verify.yml has been changed
Some checks failed
codespell / Check for spelling errors (push) Successful in 12s
suyu-ci / Check REUSE Specification (push) Successful in 11s
suyu verify / Verify Format (push) Successful in 1m26s
suyu verify / test build (linux-fresh, linux) (push) Failing after 2m55s
suyu verify / test build (linux-fresh, clang) (push) Failing after 3m32s
2024-03-24 21:03:20 -03:00
Fijxu 201bff1731
Add missing REUSE files and directories
All checks were successful
codespell / Check for spelling errors (push) Successful in 12s
suyu-ci / Check REUSE Specification (push) Successful in 11s
2024-03-24 20:27:11 -03:00
suyudontsueme 907f9aa6f2
Rewrite missing keys dialog to be more descriptive
Some checks failed
suyu-ci / Check REUSE Specification (push) Failing after 14s
codespell / Check for spelling errors (push) Successful in 13s
suyu verify / Verify Format (push) Successful in 1m31s
suyu verify / test build (linux-mingw, windows) (push) Failing after 3m0s
suyu verify / test build (linux-fresh, linux) (push) Failing after 3m21s
suyu verify / test build (linux-fresh, clang) (push) Failing after 4m19s
Closes #30
2024-03-24 18:59:04 -03:00
Lucas Clemente Vella a9312c837e
Searching for Vulkan before QT6, so it doesn't messes with Vulkan.
Some checks failed
suyu-ci / Check REUSE Specification (push) Failing after 12s
codespell / Check for spelling errors (push) Successful in 12s
2024-03-24 14:03:16 -04:00