Commit Graph

27308 Commits

Author SHA1 Message Date
echosys
8ba1e751c4 Be more explicit on struct init (#46)
Older versions of gcc (gcc-11 which is used in the build guide) seem to struggle with these two struct initializations (if I understand this correctly it is using "designated initialization" which is new in C++20) leading to compile errors (see #42).
This replaces those two initializations with a more explicit one that also compiles on gcc-11.

Reviewed-on: http://vub63vv26q6v27xzv2dtcd25xumubshogm67yrpaz2rculqxs7jlfqad.onion/torzu-emu/torzu/pulls/46
Co-authored-by: echosys <echosys@noreply.localhost>
Co-committed-by: echosys <echosys@noreply.localhost>
2024-12-20 15:24:58 +00:00
anon
5401d8c7d9 Remove elements for removed buttons in web config (#31)
Reviewed-on: http://vub63vv26q6v27xzv2dtcd25xumubshogm67yrpaz2rculqxs7jlfqad.onion/torzu-emu/torzu/pulls/31
Co-authored-by: anon <anon@noreply.localhost>
Co-committed-by: anon <anon@noreply.localhost>
2024-12-20 15:24:58 +00:00
anon
aab381fdc4 Better text spacing in about dialog (partial #22) 2024-12-20 15:24:58 +00:00
anon
95966f122b option to skip compiling the -cmd executable (#26)
There's already a `-DYUZU_ROOM` flag that can be set to OFF to skip compiling that executable.

This adds a `-DYUZU_CMD` flag that is ON by default, but can be set to OFF to also skip compiling the yuzu-cmd executable.

Setting both to OFF saves **_a lot_** of compiling time if you don't ever use either the yuzu-room or yuzu-cmd exes.

Reviewed-on: http://vub63vv26q6v27xzv2dtcd25xumubshogm67yrpaz2rculqxs7jlfqad.onion/torzu-emu/torzu/pulls/26
Co-authored-by: anon <anon@noreply.localhost>
Co-committed-by: anon <anon@noreply.localhost>
2024-12-20 15:24:58 +00:00
echosys
903d9c1b82 Remove early access Android app variant (#27)
Removes the early access Android app variant from the build config and removes the get early access button from the settings tab.

I also tried to remove the code for the variant (different logo + colors) and the code for the button, but I am no Android developer so I might have missed some stuff.
Additionally I did not touch the translation files.

Essentially this gets rid of the now useless fancy button and improves build times as it only needs to build one apk now.

Reviewed-on: http://vub63vv26q6v27xzv2dtcd25xumubshogm67yrpaz2rculqxs7jlfqad.onion/torzu-emu/torzu/pulls/27

Spec's note:
Whatever there's left can still be removed at a later point.
Co-authored-by: echosys <echosys@noreply.localhost>
Co-committed-by: echosys <echosys@noreply.localhost>
2024-12-20 15:24:58 +00:00
echosys
08439ae74e Add option to only optimize SPIRV during load (#13)
Adds a new option "On Load" to the "Optimize SPIRV output" option that turns on optimizations during the loading of the shader cache from disk, but turns it off after that.
The previous checkbox states have been named "Never" for unchecked and "Always" for checked.

The idea is that once the shader cache has most of the shaders in a game cached they can be optimized during initial game startup (where a performance hit matters less) and the few shaders that get compiled during runtime are not optimized to reduce performance hits.

Most of the commit is adding the setting to the Android app, the main logic is in the `gl_shader_cache.cpp` and `vk_pipeline_cache.cpp` files.

Reviewed-on: http://vub63vv26q6v27xzv2dtcd25xumubshogm67yrpaz2rculqxs7jlfqad.onion/torzu-emu/torzu/pulls/13
Co-authored-by: echosys <echosys@noreply.localhost>
Co-committed-by: echosys <echosys@noreply.localhost>
2024-12-20 15:24:58 +00:00
spectranator
685f07c068 Added ILibraryAppletSelfAccessor::UnpopInData stub 2024-12-20 15:24:58 +00:00
spectranator
da2d364fb3 Fixed multiplayer lobby list (thanks to anonymous contributor!) 2024-12-20 15:24:58 +00:00
Reg Tiangha
4c7af937f1 hardware_composer.cpp: Add missing includes 2024-12-20 15:24:57 +00:00
Reg Tiangha
cf5173aafa MacOS: Fix Debugger namespace naming confilct 2024-12-20 15:24:57 +00:00
spectranator
bf1cfab4ed Updated ffmpeg submodule 2024-12-20 15:24:57 +00:00
Jarrod Norwell
2084af908c Stubbed QueryLastPlayTime 2024-12-20 15:24:57 +00:00
Jarrod Norwell
cc3e48774c Added HDCP authentication state event and stubs 2024-12-20 15:24:57 +00:00
spectranator
ad35d0d2b2 Updated Vulkan stuff for bug fixes and improved hardware compatibility (#21)
Fixes TOTK crashes on Steam Deck and potentially VRAM leak issues

Reviewed-on: http://y2nlvhmmk5jnsvechppxnbyzmmv3vbl7dvzn6ltwcdbpgxixp3clkgqd.onion/torzu-emu/torzu/pulls/21
2024-12-20 15:24:57 +00:00
Jarrod Norwell
0078a5544e Implemented LogicOp fix 2024-12-20 15:24:57 +00:00
Jarrod Norwell
2b4befd23d Added ISslConnection::{Get,Set}NextAlpnProto stubs 2024-12-20 15:24:57 +00:00
Jarrod Norwell
2cacc52680 Added missing error codes and increased audio renderer revision (fixes Animal Well) 2024-12-20 15:24:57 +00:00
Mike Lothian
c39939fd8e Use fmt 11.0.0 2024-12-20 15:24:57 +00:00
spectranator
43df1d4512 Moved fmt external out of dynarmic and updated fmt to 11.0.2 2024-12-20 15:24:57 +00:00
spectranator
0b587b91c9 Simplified CoreTiming::GetClockTicks() 2024-12-20 15:24:57 +00:00
spectranator
701f391d00 Disabled problematic MSVC warning-to-errors 2024-12-20 15:24:57 +00:00
spectranator
e1d0c6680c Do not build SPIRV-Tools executables 2024-12-20 15:24:57 +00:00
spectranator
2c34a4c7db Fixed controller UI being cut off at the bottom 2024-12-20 15:24:57 +00:00
spectranator
f89d3ca9ed Added option to synchronize core tick speed to max speed percentage 2024-12-20 15:24:57 +00:00
Jarrod Norwell
ec78bac6ab Rewrote mm:u to follow switchbrew.org documentation 2024-12-20 15:24:57 +00:00
flodavid
6eac0a4802 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-12-20 15:24:57 +00:00
darktux
46546e9c2e Fixed non-external SPIRV-Tools linkage 2024-12-20 15:24:57 +00:00
darktux
8028770d4e Optionally optimize generated SPIRV with spirv-opt (#10)
Reviewed-on: http://y2nlvhmmk5jnsvechppxnbyzmmv3vbl7dvzn6ltwcdbpgxixp3clkgqd.onion/darktux/torzu/pulls/10
Co-authored-by: darktux <darktux@y2nlvhmmk5jnsvechppxnbyzmmv3vbl7dvzn6ltwcdbpgxixp3clkgqd.onion>
Co-committed-by: darktux <darktux@y2nlvhmmk5jnsvechppxnbyzmmv3vbl7dvzn6ltwcdbpgxixp3clkgqd.onion>
2024-12-20 15:24:57 +00:00
lol
b6cd4b66b2 fix qlaunch on firmware 18 2024-12-20 15:24:57 +00:00
darktux
45080689fe Fixed crash when changing per-game backend from null 2024-12-20 15:24:57 +00:00
darktux
893ee2882f Improve SPIRV-Headers loading behavior 2024-12-20 15:24:57 +00:00
Exverge
f0437e57fd Map methods in firmware 18.0.0 2024-12-20 15:24:57 +00:00
darktux
bd2c29fed8 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-12-20 15:24:57 +00:00
darktux
2c04264053 Implemented IFriendService::GetUserPresenceView stub to get QLaunch friends list running 2024-12-20 15:24:57 +00:00
darktux
c454967221 Return correct amount of values from IFriendService::GetReceivedFriendRequestCount 2024-12-20 15:24:57 +00:00
darktux
0ef53d4d96 Added v18.0.0 stubs 2024-12-20 15:24:57 +00:00
darktux
7c47e06939 Disable "Open Home Menu" action as appropriate 2024-12-20 15:24:57 +00:00
darktux
075c4782e0 Implemented a more correct version of ISfServiceMonitor::GetGroupInfo 2024-12-20 15:24:57 +00:00
darktux
628a1649e3 Actually return 0 in IFriendService::GetReceivedFriendRequestCount 2024-12-20 15:24:57 +00:00
darktux
662ce7f3a0 Fixed minor issues from previous PR related to buffers and a typo in npns 2024-12-20 15:24:57 +00:00
darktux
8b6b7ab647 Removed telemetry and anonymized SCM (git) strings 2024-12-20 15:24:57 +00:00
darktux
b250c2ff97 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-12-20 15:24:57 +00:00
darktux
e6d40911b3 Always report command ID in log and implement LoadUserSetting stub 2024-12-20 15:24:57 +00:00
darktux
47c86b6cc8 Fixed configurarion without SIRIT_USE_SYSTEM_SPIRV_HEADERS set 2024-12-20 15:24:57 +00:00
Lucas Clemente Vella
2b67d9f860 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-12-20 15:24:57 +00:00
Belal Ashraf
6cca22e167 Fix NROs crashing and loading infinitely 2024-12-20 15:24:57 +00:00
Exverge
1a561852bb fix: resume application when library applets are closed 2024-12-20 15:24:57 +00:00
Lucas Clemente Vella
bf4c8952b0 Vulkan validation error fix.
Different image usage flags between image creation and image view
creation.
2024-12-20 15:24:57 +00:00
Kelebek1
ccf5644c17 Add option to log synchronously, add tooltip to log filter. 2024-12-20 15:24:57 +00:00
Jarrod Norwell
9d3b0b832f Added support for Princess Peach: Showtime! 2024-12-20 15:24:57 +00:00