Commit graph

27251 commits

Author SHA1 Message Date
EmulationEnjoyer
d5bb26bf3e 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
2c02c18c86 Update src/audio_core/common/feature_support.h
Updated AudioCore Revision from 11 -> 13
2025-04-04 03:40:49 +02:00
Zephyron
789bbd7ab5 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
c6f2a85142 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
6581fc5b98 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
6abd4d2f2b 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
ada5dcf01a Disabled MCO_USE_VMEM_ALLOCATOR because standard stack size seems to suffice 2025-04-04 03:40:48 +02:00
darktux
9f4ef30b55 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
a1d4963fb8 Remove accidental use of standard format instead of libfmt format 2025-04-04 03:40:48 +02:00
MrPurple666
8b57de2436 Remove unused submodule 2025-04-04 03:40:48 +02:00
darktux
56f12e3ba3 Added v18.0.0 stubs 2025-04-04 03:40:48 +02:00
darktux
2011cdd333 Added v18.0.0 stubs and updated tzdb_to_nx 2025-04-04 03:40:48 +02:00
darktux
492d3856e8 Vulkan validation error fix.
Different image usage flags between image creation and image view
creation.
2025-04-04 03:40:48 +02:00
darktux
5af02a5cea Save memory by using dyamic stack size in Fiber 2025-04-04 03:40:48 +02:00
darktux
d8c2ab85eb Implemented a more correct version of ISfServiceMonitor::GetGroupInfo 2025-04-04 03:40:48 +02:00
darktux
bc2fdfee13 Fixed minicoro.h formatting 2025-04-04 03:40:47 +02:00
darktux
edff3d4adb Radeon gpu profiler detection support 2025-04-04 03:40:47 +02:00
darktux
4a71984803 clang-formated new fiber.cpp and minicoro.h 2025-04-04 03:40:47 +02:00
darktux
16f92e5b32 Implemented rewindless Fiber without Boost (using minicoro) 2025-04-04 03:40:47 +02:00
darktux
60643dd1b2 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
1c7bae50cc Fixed formatting in new stubs ported from Suyu 2025-04-04 03:40:47 +02:00
darktux
cacef3d8e7 Ported some stubs from Suyu (2ba2db7795) 2025-04-04 03:40:47 +02:00
darktux
2032d035a3 Removed telemetry and anonymized SCM (git) strings 2025-04-04 03:40:47 +02:00
darktux
5056d87da3 Actually return 0 in IFriendService::GetReceivedFriendRequestCount 2025-04-04 03:40:47 +02:00
darktux
675d53ab71 Fixed minor issues from previous PR related to buffers and a typo in npns 2025-04-04 03:40:47 +02:00
darktux
d82ee773da Implemented IFriendService::GetUserPresenceView stub to get QLaunch friends list running 2025-04-04 03:40:46 +02:00
darktux
df67582446 Always report command ID in log and implement LoadUserSetting stub 2025-04-04 03:40:46 +02:00
darktux
6ff1dc8bdb Disable "Open Home Menu" action as appropriate 2025-04-04 03:40:46 +02:00
darktux
616619c8f7 Port changes from Early Access 2025-04-04 03:40:46 +02:00
darktux
19a93a3fd1 Android: Add ability to run Qlaunch 2025-04-04 03:40:46 +02:00
darktux
76a55dc003 Implement option to start QLaunch from Tools menu 2025-04-04 03:40:45 +02:00
Briar
c4fb749028 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
b1dc4fa121 android: Update AndroidX dependencies to latest versions 2025-04-04 03:23:32 +02:00
Briar
7c77958d94 ci: Try and make license header runner job work on PRs 2025-04-04 03:23:32 +02:00
Briar
7f24956148 ci: Try and make runner job work on PRs 2025-04-04 03:23:32 +02:00
Briar
4bb6e633e0 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
417202f53d externals: Update dynarmic to 5ae5288 2025-04-04 03:23:32 +02:00
Briar
88a748a395 ci: Use normal release build type for APK packing 2025-04-04 03:23:32 +02:00
Briar
dd32efa3d8 android: Switch to custom Oboe submodule 2025-04-04 03:23:32 +02:00
Briar
9cbd5bd299 externals: Update sirit to 6e6d79 2025-04-04 03:23:32 +02:00
Briar
43d3e22151 android: Try to suppress outdated minimum version error for oobe 2025-04-04 03:23:32 +02:00
Briar
07751a6b6d externals: Update opus to df02d25 2025-04-04 03:23:32 +02:00
Briar
d4cd6ed1ce Fix android vcpkg compiling 2025-04-04 03:23:32 +02:00
Briar
fb3cd035a8 externals: Update sirit to 770472e 2025-04-04 03:23:32 +02:00
Briar
bd844d2830 Fix windows boost compilation errors 2025-04-04 03:23:32 +02:00
Briar
d7a0201a12 externals: Update vcpkg to ea2a964 2025-04-04 03:23:32 +02:00
Briar
ae973178fd externals: Update discord-rpc to 32d1cfcab 2025-04-04 03:23:32 +02:00
Briar
699f5995b4 externals: Update enet to 2662c0d 2025-04-04 03:23:32 +02:00
Briar
0cf8ffc821 externals: Update cubeb to 2662c0d 2025-04-04 03:23:32 +02:00
Briar
b2237a372e externals: Update mbedtls to acdc937 2025-04-04 03:23:32 +02:00