Commit graph

27514 commits

Author SHA1 Message Date
darktux
69a4d26b1e Add SR_WScaleFactorXY/SR_WScaleFactorZ stubs for Prince of Persia (#5)
Pulled in and cleaned up from Sudachi

Reviewed-on: http://y2nlvhmmk5jnsvechppxnbyzmmv3vbl7dvzn6ltwcdbpgxixp3clkgqd.onion/darktux/torzu/pulls/5
Co-authored-by: darktux <darktux@y2nlvhmmk5jnsvechppxnbyzmmv3vbl7dvzn6ltwcdbpgxixp3clkgqd.onion>
Co-committed-by: darktux <darktux@y2nlvhmmk5jnsvechppxnbyzmmv3vbl7dvzn6ltwcdbpgxixp3clkgqd.onion>
2024-04-05 23:04:37 +00:00
darktux
5bc8aaa78b Mention GitHub mirror repository in README 2024-04-05 09:34:47 +02:00
darktux
56505be4c5 Link to Suyu and Sudachi in README 2024-04-05 09:26:54 +02:00
darktux
964b66bb00 Do not use --recursive twice in clone example in README 2024-04-05 09:21:26 +02:00
darktux
f2592ff593 clang-formated new fiber.cpp and minicoro.h 2024-04-05 01:58:30 +02:00
darktux
3857ff1aa8 Removed telemetry and anonymized SCM (git) strings 2024-04-05 01:58:30 +02:00
darktux
d0ef57274a Return correct amount of values from IFriendService::GetReceivedFriendRequestCount 2024-04-05 01:58:30 +02:00
darktux
a5a11e03a1 Disable "Open Home Menu" action as appropriate 2024-04-05 01:58:30 +02:00
darktux
d02da8726d Remove accidental use of standard format instead of libfmt format 2024-04-05 01:58:30 +02:00
darktux
b07b266b87 Implemented rewindless Fiber without Boost (using minicoro) 2024-04-05 01:58:30 +02:00
darktux
30bd90424f Actually return 0 in IFriendService::GetReceivedFriendRequestCount 2024-04-05 01:58:30 +02:00
darktux
487089ecaa Reverted recent tzdb_to_nx update 2024-04-05 01:58:30 +02:00
darktux
268ee291a1 Fixed minor issues from previous PR related to buffers and a typo in npns 2024-04-05 01:58:30 +02:00
darktux
c5fe645224 Added v18.0.0 stubs and updated tzdb_to_nx 2024-04-05 01:58:30 +02:00
darktux
d75906a3e2 Implemented IFriendService::GetUserPresenceView stub to get QLaunch friends list running 2024-04-05 01:58:30 +02:00
darktux
85baaf0ab1 Vulkan validation error fix.
Different image usage flags between image creation and image view
creation.
2024-04-05 01:58:30 +02:00
darktux
0cb34b7bc3 Always report command ID in log and implement LoadUserSetting stub 2024-04-05 01:58:30 +02:00
darktux
566ba0cb2b Save memory by using dyamic stack size in Fiber 2024-04-05 01:58:30 +02:00
darktux
30da7e61a4 Fix NROs crashing and loading infinitely (#3)
Commit from Suyu, looks like Yuzu devs forgot to initialize memory here.

Comment from darktux: I've changed the use of memset to std::fill.

Co-authored-by: Belal Ashraf <nullequal@noreply.localhost>
Reviewed-on: http://y2nlvhmmk5jnsvechppxnbyzmmv3vbl7dvzn6ltwcdbpgxixp3clkgqd.onion/darktux/torzu/pulls/3
Co-authored-by: darktux <darktux@y2nlvhmmk5jnsvechppxnbyzmmv3vbl7dvzn6ltwcdbpgxixp3clkgqd.onion>
Co-committed-by: darktux <darktux@y2nlvhmmk5jnsvechppxnbyzmmv3vbl7dvzn6ltwcdbpgxixp3clkgqd.onion>
2024-04-05 01:58:30 +02:00
darktux
22acf85d05 Fix GCC builds with Debug build type
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-05 01:58:30 +02:00
darktux
2c213a4002 Searching for Vulkan before QT6, so it doesn't messes with Vulkan. 2024-04-05 01:58:30 +02:00
darktux
8bfdd8f9ae Solves warning about GuestMemory having internal linkage.
It is very hard to explain why this public interface class was defined
in an anonymous namespace inside a header file.
2024-04-05 01:58:30 +02:00
darktux
5fdce35a27 Added support for Princess Peach: Showtime! 2024-04-05 01:58:30 +02:00
darktux
a884e168ac Improve upon last commit 2024-04-05 01:58:30 +02:00
darktux
ad1970bd05 Add comment on how to clone repo 2024-04-05 01:58:30 +02:00
darktux
fdd57f3615 Fixed formatting in new stubs ported from Suyu 2024-04-05 01:58:30 +02:00
darktux
1c88616a03 Updated copyright headers 2024-04-05 01:58:30 +02:00
darktux
67e139edba Ported some stubs from Suyu (2ba2db7795) 2024-04-05 01:58:30 +02:00
darktux
40824a903d Fixed minicoro.h formatting 2024-04-05 01:58:30 +02:00
darktux
7e44e3d471 Implemented a more correct version of ISfServiceMonitor::GetGroupInfo 2024-04-05 01:58:30 +02:00
darktux
603702b64d Radeon gpu profiler detection support 2024-04-05 01:58:30 +02:00
darktux
4c25cbae7b fix for amd video playback (green videos) 2024-04-05 01:58:29 +02:00
darktux
fc18b71a20 Port changes from Early Access 2024-04-05 01:58:29 +02:00
darktux
11b815703f Android: Add ability to run Qlaunch 2024-04-05 01:58:29 +02:00
darktux
9e5df3461f Implement option to start QLaunch from Tools menu 2024-04-05 01:58:29 +02:00
darktux
372918fe0f Replaced API URL 2024-04-05 01:58:29 +02:00
darktux
920e2504c3 Downgraded mbedtls and updated for latest dynarmic 2024-04-05 01:58:29 +02:00
darktux
9bb9b8b30b Fixed configurarion without SIRIT_USE_SYSTEM_SPIRV_HEADERS set 2024-04-05 01:58:29 +02:00
darktux
c456568564 Deleted contact links from issue templates 2024-04-05 01:58:28 +02:00
darktux
19158e468e Deleted workflows and funding 2024-04-05 01:58:28 +02:00
darktux
c60f13169a Updated README to reflect current state of things 2024-04-05 01:58:28 +02:00
darktux
56b06200e9 Deleted all CI scripts (rework planned) 2024-04-05 01:58:28 +02:00
darktux
9b991208cd Added submodule contents into tree 2024-04-05 01:58:27 +02:00
darktux
01a752555c Removed bad submodules 2024-04-05 01:58:27 +02:00
Fijxu
be31d5f56c
Enable Windows MinGW artifacts. 2024-04-04 15:40:26 -03:00
flodavid
3cdd76b23d Fix qdarkstyle and midnight blue sliders being cropped
- Allow Threshold sliders in control configuration to be up to 40px tall, instead of 15
2024-04-03 23:09:17 +02:00
flodavid
7c9545c82a Add dark mode configuration setting in UI tab
- Allows to choose "Auto", "Always On" or "Always Off"
  - Dark mode options are only shown if the style does not support theme
- If Auto is chosen, value is retrieved from OS
  - On Windows, the application needs a restart to apply the settings
- Use the default dark palette for Windows, like on Linux
2024-04-03 23:09:17 +02:00
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