Commit Graph

27113 Commits

Author SHA1 Message Date
Briar b7a3146c2f
core: Add support for game settings overrides (#6)
* core: Add support for game settings overrides
---------

Co-authored-by: Gamer64 <76565986+Gamer64ytb@users.noreply.github.com>
Co-authored-by: zhang wei <zwdreams@gmail.com>
2025-04-09 23:44:33 +02:00
Briar 2dd8d09c7b
Refactor Android Game Screen UI
* Port SearchFragment functionality to GameFragment @kleidis

Co-authored-by: Briar <205427297+icybriarr@users.noreply.github.com>

* Remove the bottom navigation bar and SearchFragment remaining code @ishan09811

* Add 2 new game view types `Grid & `List` to GameAdapter @kleidis

* Fix padding on header

* Change app name to uppercase

---------

Co-authored-by: Kleidis <167202775+kleidis@users.noreply.github.com>
Co-authored-by: Briar <205427297+icybriarr@users.noreply.github.com>
Co-authored-by: Ishan09811 <156402647+Ishan09811@users.noreply.github.com>
2025-04-09 00:01:32 +02:00
JPikachu 08ac410558
Implement LogicOP Workaround for Vulkan on AMD GPUs
This fixes black sewers in Paper Mario: TTYD
Credit: Antique - [Sudachi] Dev (https://sudachi.emuplace.app/)
2025-04-08 19:17:28 +02:00
Briar e59f7922a1 Revert "Disabled MCO_USE_VMEM_ALLOCATOR because standard stack size seems to suffice"
This reverts commit 05646e6000.
2025-04-06 22:52:55 -03:00
Mr_Purple_666 10a3a9d748 Use u32 instead of int
fix windows build error
2025-04-04 03:40:50 +02:00
MrPurple666 bb3971767e Unified torzu and sudachi friend.cpp + fix android build on dma_pusher 2025-04-04 03:40:49 +02:00
MrPurple666 ab89fdb426 add boost-headers (again) 2025-04-04 03:40:49 +02:00
Pavel Barabanov 2f469fa9c2 Added the GetKeyCodeMapByPort service, thanks JPikachu for the tip. 2025-04-04 03:40:49 +02:00
Pavel Barabanov dfbdf448eb Slightly changed the overlay design 2025-04-04 03:40:49 +02:00
pavelbarabanov 875a0d7e4a Обновить src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/EmulationFragment.kt
- Add MEM overlay
- Add thermal overlay to show temperature in C/F with color indication
2025-04-04 03:40:49 +02:00
JPikachu 8e6707da5e Update freind, nifm and nim stubs
Credit: Antique - [Sudachi] Dev (https://sudachi.emuplace.app/)
2025-04-04 03:40:49 +02:00
Zephyron 17e68e6d70 video_core: Enforce safe memory reads for compute dispatch
- Modify DmaPusher to use safe memory reads when handling compute
  operations at High GPU accuracy
- Prevent potential memory corruption issues that could lead to
  invalid dispatch parameters
- Previously, unsafe reads could result in corrupted launch_description
  data in KeplerCompute::ProcessLaunch, causing invalid vkCmdDispatch
  calls
- By enforcing safe reads specifically for compute operations, we
  maintain performance for other GPU tasks while ensuring compute
  dispatch stability

This change requires >= High GPU accuracy level to take effect.
2025-04-04 03:40:49 +02:00
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
MrPurple666 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