Commit graph

27101 commits

Author SHA1 Message Date
EmulationEnjoyer
5a3be92a5f Implement HID function stub "SetGestureOutputRanges" (#105)
Add function stub for "SetGestureOutputRanges" in HID service

Fixes userspace panic when booting Donkey Kong Country Returns HD:

> Debug <Critical> core\hle\service\service.cpp:operator ():78: Assertion Failed!
Unknown / unimplemented function '92(<unknown>)': port='hid' cmd_buf={[0]=0x6, [1]=0x8000000C, [2]=0x1, [3]=0x0, [4]=0x4F434653, [5]=0x0, [6]=0x0, [7]=0x0, [8]=0x49434653}
> Service.AM <Info> core\hle\service\am\service\application_functions.cpp:SetTerminateResult:187: (STUBBED) called, result=0x1a80a (2010-0212)
> Debug.Emulated <Critical> core\hle\kernel\svc\svc_exception.cpp:Break:52: Userspace PANIC! info1=0x0000001086D02C4C, info2=0x0000000000000004
> Debug.Emulated <Critical> core\hle\kernel\svc\svc_exception.cpp:operator ():33: debug_buffer_err_code=1A80A
> Debug.Emulated <Critical> core\hle\kernel\svc\svc_exception.cpp:Break:102: Emulated program broke execution! reason=0x0000000000000000, info1=0x0000001086D02C4C, info2=0x0000000000000004

ref: 132077e18f

![](https://i.imgur.com/hbBnlYs.png)

Reviewed-on: http://vub63vv26q6v27xzv2dtcd25xumubshogm67yrpaz2rculqxs7jlfqad.onion/torzu-emu/torzu/pulls/105
Co-authored-by: EmulationEnjoyer <emulationenjoyer@noreply.localhost>
Co-committed-by: EmulationEnjoyer <emulationenjoyer@noreply.localhost>
2025-04-04 03:40:49 +02:00
EmulationEnjoyer
8a5a52f546 Update src/audio_core/common/feature_support.h
Updated AudioCore Revision from 11 -> 13
2025-04-04 03:40:49 +02:00
Zephyron
528c09ae72 kernel: Implement SystemResourceSize info type for VAMM initialization
Adds support for InfoType::SystemResourceSize (0x1C) which is required for
proper initialization of the Virtual Address Memory Manager (VAMM). This
implementation:

1. Adds SystemResourceSize to the InfoType enum in svc_types.h
2. Implements the GetInfo handler for SystemResourceSize in svc_info.cpp
3. Returns 512MB (0x20000000 bytes) as the system resource size
4. Adds debug logging for the SVC call

The 512MB value is chosen based on typical system resource allocations
needed for VAMM initialization on the Nintendo Switch.

This fixes crashes in games that rely on VAMM functionality, particularly
during nn::os::detail::VammManager::InitializeIfEnabled().
2025-04-04 03:40:49 +02:00
eee726ca81 Add the rest of the necessary code for ssl:s
Credit: Antique - (Sudachi) Dev [https://sudachi.emuplace.app/]

Signed-off-by: MrPurple666 <antoniosacramento666@gmail.com>
2025-04-04 03:40:49 +02:00
JPikachu
0c6a8f4808 Update ssl stubs
Updated the ssl stubs to implement ssl:s for Firmware 19
This should make Xenoblade X: Definitive Edition bootable
Credit: Antique - (Sudachi) Dev [https://sudachi.emuplace.app/]
2025-04-04 03:40:48 +02:00
JPikachu
4f54b8076c Rewrote mm:u to follow switchbrew.org documentation and update them
Credit: Antique - [Sudachi Dev] (https://sudachi.emuplace.app/)
2025-04-04 03:40:48 +02:00
darktux
05646e6000 Disabled MCO_USE_VMEM_ALLOCATOR because standard stack size seems to suffice 2025-04-04 03:40:48 +02:00
darktux
9e3c2d56d6 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>
2025-04-04 03:40:48 +02:00
darktux
e2486f1217 Remove accidental use of standard format instead of libfmt format 2025-04-04 03:40:48 +02:00
MrPurple666
56a066dba1 Remove unused submodule 2025-04-04 03:40:48 +02:00
darktux
3bf113d966 Added v18.0.0 stubs 2025-04-04 03:40:48 +02:00
darktux
8b62a7fb21 Added v18.0.0 stubs and updated tzdb_to_nx 2025-04-04 03:40:48 +02:00
darktux
a015fbbfe2 Vulkan validation error fix.
Different image usage flags between image creation and image view
creation.
2025-04-04 03:40:48 +02:00
darktux
047df5dfff Save memory by using dyamic stack size in Fiber 2025-04-04 03:40:48 +02:00
darktux
cb477dacea Implemented a more correct version of ISfServiceMonitor::GetGroupInfo 2025-04-04 03:40:48 +02:00
darktux
3d422626d1 Fixed minicoro.h formatting 2025-04-04 03:40:47 +02:00
darktux
803939a540 Radeon gpu profiler detection support 2025-04-04 03:40:47 +02:00
darktux
50f7d4982b clang-formated new fiber.cpp and minicoro.h 2025-04-04 03:40:47 +02:00
darktux
865757be47 Implemented rewindless Fiber without Boost (using minicoro) 2025-04-04 03:40:47 +02:00
darktux
9a39b63f12 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.
2025-04-04 03:40:47 +02:00
darktux
7f3c674385 Fixed formatting in new stubs ported from Suyu 2025-04-04 03:40:47 +02:00
darktux
e8d935c67a Ported some stubs from Suyu (2ba2db7795) 2025-04-04 03:40:47 +02:00
darktux
5d1ee830ab Removed telemetry and anonymized SCM (git) strings 2025-04-04 03:40:47 +02:00
darktux
996ac3571c Actually return 0 in IFriendService::GetReceivedFriendRequestCount 2025-04-04 03:40:47 +02:00
darktux
d7692fa231 Fixed minor issues from previous PR related to buffers and a typo in npns 2025-04-04 03:40:47 +02:00
darktux
e723b3a5b6 Implemented IFriendService::GetUserPresenceView stub to get QLaunch friends list running 2025-04-04 03:40:46 +02:00
darktux
5bec9d3656 Always report command ID in log and implement LoadUserSetting stub 2025-04-04 03:40:46 +02:00
darktux
5ae2193207 Disable "Open Home Menu" action as appropriate 2025-04-04 03:40:46 +02:00
darktux
ca0549bc0f Port changes from Early Access 2025-04-04 03:40:46 +02:00
darktux
a549bacaa9 Android: Add ability to run Qlaunch 2025-04-04 03:40:46 +02:00
darktux
7477e211fe Implement option to start QLaunch from Tools menu 2025-04-04 03:40:45 +02:00
Briar
da32964210
android: Add static color theme option
* android: Add static color theme option ported from Azahar 

* android: Remove leftover xml from early access fragment

* android: Properly theme material dialogs to theme color

* android: Fixup colors through the app

and make game image corners more round

* android: Set default theme to violet to match eden branding

* Update license headers

---------

Co-authored-by: Kleidis <167202775+kleidis@users.noreply.github.com>
2025-04-04 03:35:28 +02:00
Briar
53ac2069b5 android: Update AndroidX dependencies to latest versions 2025-04-04 03:23:32 +02:00
Briar
228400c93f ci: Try and make license header runner job work on PRs 2025-04-04 03:23:32 +02:00
Briar
3e8c796770 ci: Try and make runner job work on PRs 2025-04-04 03:23:32 +02:00
Briar
35843f8848 externals: Downgrade dynarmic to ae99622 and xbyak to 0d67fd15; modify ABI parameter handling in macro_jit_x64.cpp 2025-04-04 03:23:32 +02:00
Briar
6aef429fa0 externals: Update dynarmic to 5ae5288 2025-04-04 03:23:32 +02:00
Briar
7187d4f67d ci: Use normal release build type for APK packing 2025-04-04 03:23:32 +02:00
Briar
92a4ac45a4 android: Switch to custom Oboe submodule 2025-04-04 03:23:32 +02:00
Briar
afc87d4ec1 externals: Update sirit to 6e6d79 2025-04-04 03:23:32 +02:00
Briar
56f2dc3ab0 android: Try to suppress outdated minimum version error for oobe 2025-04-04 03:23:32 +02:00
Briar
1fbed6f772 externals: Update opus to df02d25 2025-04-04 03:23:32 +02:00
Briar
2c6f24c1e4 Fix android vcpkg compiling 2025-04-04 03:23:32 +02:00
Briar
8649febd5e externals: Update sirit to 770472e 2025-04-04 03:23:32 +02:00
Briar
a351ea0212 Fix windows boost compilation errors 2025-04-04 03:23:32 +02:00
Briar
2cdd8e07bd externals: Update vcpkg to ea2a964 2025-04-04 03:23:32 +02:00
Briar
f57a2013db externals: Update discord-rpc to 32d1cfcab 2025-04-04 03:23:32 +02:00
Briar
adda594275 externals: Update enet to 2662c0d 2025-04-04 03:23:32 +02:00
Briar
8491f4c9df externals: Update cubeb to 2662c0d 2025-04-04 03:23:32 +02:00
Briar
e12c1a20f6 externals: Update mbedtls to acdc937 2025-04-04 03:23:32 +02:00