Commit Graph

24449 Commits

Author SHA1 Message Date
Briar 077592903e 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 8ef4da686c 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 52eab40fc8 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 6f45ab5344 Revert "Disabled MCO_USE_VMEM_ALLOCATOR because standard stack size seems to suffice"
This reverts commit ada5dcf01a.
2025-04-06 22:52:55 -03:00
Mr_Purple_666 90bda9fee5 Use u32 instead of int
fix windows build error
2025-04-04 03:40:50 +02:00
MrPurple666 2d2e9208d2 Unified torzu and sudachi friend.cpp + fix android build on dma_pusher 2025-04-04 03:40:49 +02:00
Pavel Barabanov 409946d1e6 Added the GetKeyCodeMapByPort service, thanks JPikachu for the tip. 2025-04-04 03:40:49 +02:00
Pavel Barabanov c09347ff5f Slightly changed the overlay design 2025-04-04 03:40:49 +02:00
pavelbarabanov 70c151fba0 Обновить 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 7c4fdaf528 Update freind, nifm and nim stubs
Credit: Antique - [Sudachi] Dev (https://sudachi.emuplace.app/)
2025-04-04 03:40:49 +02:00
Zephyron 0071e980b8 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 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
MrPurple666 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
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 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 dd32efa3d8 android: Switch to custom Oboe submodule 2025-04-04 03:23:32 +02:00
Briar bd844d2830 Fix windows boost compilation errors 2025-04-04 03:23:32 +02:00
Briar c98be3d793 Update fastmem pointer handling to use std::optional 2025-04-04 03:23:32 +02:00
Briar 6c3381a608 qt: 6.7.3 Implementation
Co-authored-by: Kleidis <167202775+kleidis@users.noreply.github.com>
2025-04-04 03:23:31 +02:00
briar 24fb37525c android: Remove leftover EA strings 2025-04-04 03:23:31 +02:00
Briar 5bf118114d android: Remove early access fragment and home setting item 2025-04-04 03:23:31 +02:00
Briar bef5846725 android: Update icons to use eden's 2025-04-04 03:23:31 +02:00
Briar 55d6b40fe3 android: Change appID 2025-04-04 03:23:31 +02:00
Briar 8364ab1b00 android: Rename default device name to eden 2025-04-04 03:23:31 +02:00
Briar 384535e636 android: Change app name to eden 2025-04-04 03:23:31 +02:00
Briar 8c28ebe212 android: Updated some user-facing strings to refer to eden 2025-04-04 03:23:31 +02:00
Briar b1ec0e9dec Switch default username to eden 2025-04-01 18:38:41 +02:00
Briar efb94f76d0 qt: Updated some user-facing strings to refer to eden 2025-04-01 18:37:54 +02:00
Briar 0c4d8a8b08 Rename log file to `eden_log` 2025-04-01 18:36:48 +02:00
Briar 0d8a40e3da Changed executable names to eden 2025-04-01 18:35:37 +02:00
voidanix d60cf76e2d Fix GCC builds with Debug build type 2025-04-01 18:31:44 +02:00
briar 2b2ddb581d android: Update various deps 2025-04-01 18:30:57 +02:00
yuzubot c280f95b1a "Merge Tagged PR 13018" 2024-03-03 13:02:50 +00:00
yuzubot f2aa821f94 "Merge Tagged PR 13178" 2024-03-03 13:02:49 +00:00
Pengfei Zhu 3e795c7d8c Revert arbaic translation 2024-03-01 15:20:53 +08:00
Pengfei Zhu f83547b26b Remove trailing whitespaces 2024-03-01 14:19:02 +08:00
The yuzu Community d97964f282 Update translations (2024-03-01) 2024-03-01 03:12:19 +00:00
liamwhite 3f719aed35 Merge pull request #13135 from german77/hid-interface
service: hid: Migrate HidServer to new IPC
2024-02-27 12:26:26 -05:00
liamwhite d7b17e2886 Merge pull request #13175 from liamwhite/asan
general: fix asan errors
2024-02-27 09:42:59 -05:00
liamwhite 3a31129447 Merge pull request #13171 from liamwhite/fake-address
texture_cache: do not track invalid addresses
2024-02-27 09:42:46 -05:00
liamwhite 5f2369bba6 general: workarounds for SMMU syncing issues (#12749) 2024-02-27 15:42:15 +01:00
liamwhite a918ce6fe9 vk_rasterizer: flip scissor y on lower left origin mode (#13122) 2024-02-27 15:40:33 +01:00
liamwhite c98e01cee8 buffer_cache: avoid overflow in usage tracker (#13166) 2024-02-27 15:39:11 +01:00
liamwhite df3712ad06 texture_cache: use two-pass collection for costly load resources (#13096) 2024-02-27 15:38:14 +01:00
Liam 7af4637f3d general: fix asan errors 2024-02-26 19:28:49 -05:00
Narr the Reg 325e577eec Merge pull request #13172 from liamwhite/gl-streams
renderer_opengl: declare geometry stream support in profile
2024-02-26 11:51:25 -06:00
liamwhite 67120d9623 Merge pull request #13159 from liamwhite/web-error
core: enable error applet, add stubs for web applet
2024-02-26 12:44:55 -05:00
Liam 71a6d3596a renderer_opengl: declare geometry stream support in profile 2024-02-26 11:18:30 -05:00
Liam 9db29b4e20 settings: remove global override for smash on amdvlk 2024-02-26 11:16:18 -05:00
Liam e15b1021a4 video_core: make gpu context aware of rendering program 2024-02-26 11:16:14 -05:00
Liam afb3516d43 texture_cache: do not track invalid addresses 2024-02-26 10:26:27 -05:00
liamwhite 0b15d99bb2 Merge pull request #13163 from german77/ring
core: hid: hid_core doesn't have access to LIBUSB
2024-02-25 14:01:05 -05:00
liamwhite 02b3a50564 Merge pull request #13154 from german77/vibration-filter
core: hid: Reintroduce vibration filter
2024-02-25 14:00:59 -05:00
german77 68b0f72f27 core: hid: hid_core doesn't have access to LIBUSB 2024-02-25 10:06:43 -06:00
Liam e850ec7aa9 settings: enable error applet 2024-02-24 22:56:08 -05:00
Liam 1958a2df6b ldn: return no connection from GetStateForMonitor 2024-02-24 22:56:08 -05:00
Liam cacfe8ec90 ssl: add cert store 2024-02-24 22:56:05 -05:00
Liam 1c7c59ad91 glue: load initial year setting as s32 2024-02-24 22:49:38 -05:00
Liam 2945ef5999 acc: add account manager for acc:u1 2024-02-24 22:25:34 -05:00
Liam 4cc17106f6 fs: add stubs for online web applet 2024-02-24 22:25:34 -05:00
Liam dd24fbb33c erpt: stub report creation 2024-02-24 22:25:34 -05:00
Liam 7f0b506cf1 set: add GetPlatformRegion 2024-02-24 22:25:34 -05:00
german77 4e20a37a2b service: set: Fix GetSettingsItemValue 2024-02-24 14:44:21 -06:00
german77 bdd95714d5 core: hid: Reintroduce vibration filter 2024-02-24 12:19:51 -06:00
liamwhite d953c2d880 Merge pull request #13153 from german77/defaultset
service: set: Enable nfc and others by default and bump version
2024-02-24 12:48:31 -05:00
liamwhite 843674567c Merge pull request #13081 from FearlessTobi/aoc-ipc
aoc: Migrate to use cmif serialization
2024-02-24 12:48:26 -05:00
german77 0f1de8fee0 service: set: Enable nfc and others by default and bump version 2024-02-24 11:19:51 -06:00
Liam 04e16dcb2f set: fix region code for system settings 2024-02-24 00:48:44 -05:00
liamwhite 8727ea220b Merge pull request #13142 from t895/vibration-queue
android: Play vibrations asynchronously
2024-02-24 00:38:13 -05:00
liamwhite 5e07baddbc Merge pull request #13146 from wheremyfoodat/patch-1
common/ring_buffer: Include <limits> header
2024-02-23 20:32:40 -05:00
Narr the Reg 8bc1934126 service: audio: Add missing logging properties of SetHeadphoneOutputLevelMode 2024-02-23 18:58:51 -06:00
Narr the Reg 08703d2350 service: btdrv: Add EnableRadio for Qlaunch 2024-02-23 18:58:51 -06:00
Narr the Reg a23f148581 service: friend: Add GetFriendCount, GetNewlyFriendCount, GetReceivedFriendRequestCount, GetPlayHistoryStatistics, GetReceivedFriendInvitationCountCache for QLaunch 2024-02-23 18:58:51 -06:00
Narr the Reg d77cb74cb2 service: hid: Add IsAnyCustomButtonConfigEnabled for QLaunch 2024-02-23 18:58:51 -06:00
Narr the Reg b1994c06df service: lbl: Add SaveCurrentSetting, LoadCurrentSetting and IsAutoBrightnessControlSupported for QLaunch 2024-02-23 18:58:50 -06:00
Narr the Reg ba58902d76 service: nfc: Implement SetNfcEnabled 2024-02-23 18:58:50 -06:00
Narr the Reg 2ab5090b02 service: npns: Add ListenTo and GetReceiveEvent for QLaunch 2024-02-23 18:58:39 -06:00
Narr the Reg ed811a58e9 service: set: Add default eula setting 2024-02-23 18:58:19 -06:00
wheremyfoodat 8a5329b19a common/ring_buffer: Include <limits> header 2024-02-24 02:34:09 +02:00
Narr the Reg 9d2a7fba97 service: hid: Migrate HidServer to new IPC 2024-02-23 17:49:02 -06:00
Narr the Reg c10b688712 service: hid: Move and migrate AppletResource and ActiveVibrationDevice 2024-02-23 17:49:02 -06:00
t895 ebcf0a3415 android: Play vibrations asynchronously 2024-02-23 16:41:59 -05:00
liamwhite 26ab5e9c88 Merge pull request #13141 from liamwhite/swap
fs: fix argument order
2024-02-23 15:23:06 -05:00
Liam 996211f28f fs: fix argument order 2024-02-23 15:10:35 -05:00
Liam b47cfa8e48 fs: add ISaveDataTransferProhibiter, stub FindSaveDataWithFilter 2024-02-23 12:17:24 -05:00
liamwhite bedb70d105 Merge pull request #13133 from liamwhite/libstdcxx-issue
vi: workaround conductor includes
2024-02-23 11:34:34 -05:00
liamwhite 0ca185f68d Merge pull request #13115 from liamwhite/olsc-pctl
olsc, pctl: move to new ipc
2024-02-23 11:34:29 -05:00
liamwhite 56834236dc Merge pull request #13100 from liamwhite/audio-ipc
audio: move to new ipc
2024-02-23 11:34:21 -05:00
liamwhite 0e16d64fbc Merge pull request #13073 from FearlessTobi/fsp-srv-ipc
fsp: Migrate remaining interfaces to cmif serialization
2024-02-23 11:34:06 -05:00
Liam 10966412ac vi: workaround conductor includes 2024-02-23 10:34:49 -05:00
Liam ecf0037c31 oboe_sink: handle temporary stream creation failure 2024-02-23 10:30:52 -05:00
liamwhite 6ce6149347 Merge pull request #13121 from german77/clean-shortcut
yuzu: Fix shortcut error message
2024-02-22 23:04:28 -05:00
liamwhite cee82ecadb Merge pull request #13117 from liamwhite/ovln
psc: stub overlay notification channel
2024-02-22 20:26:03 -05:00
Liam c847c2e75a audio: fix released buffer bounds check 2024-02-22 20:20:31 -05:00
FearlessTobi 830d5766ae aoc: Rename AOC_U to IAddOnContentManager 2024-02-23 01:19:18 +01:00
Narr the Reg 71937393a6 yuzu: Fix shortcut error message 2024-02-22 17:52:30 -06:00
liamwhite 4df301d9af Merge pull request #12982 from FearlessTobi/fs-rewrite-part0
fs: Add FileSystemAccessor and use cmif serialization
2024-02-22 12:34:47 -05:00
Narr the Reg 565921a463 Merge pull request #13000 from liamwhite/skip-null-memory
device_memory_manager: skip unregistered interfaces on invalidate
2024-02-22 11:34:23 -06:00
Narr the Reg 615cc06ca4 Merge pull request #13001 from liamwhite/scaled-availability
vulkan_device: don't use fixed cap for memory limits
2024-02-22 11:31:17 -06:00
Narr the Reg 091abdc5cb Merge pull request #13075 from liamwhite/mali-having-a-bad-time
shader_recompiler: throw on missing geometry streams in geometry shaders
2024-02-22 11:30:26 -06:00
Liam a086cf4136 audio: add NotifyHeadphoneVolumeWarningDisplayedEvent 2024-02-21 23:54:10 -05:00
Liam 28827c325e pctl: rewrite IParentalControlService 2024-02-21 23:42:33 -05:00
Liam af6a347b18 pctl: rewrite IParentalControlServiceFactory 2024-02-21 23:00:01 -05:00
Liam 2a4e185c0e pctl: move IParentalControlServiceFactory 2024-02-21 23:00:01 -05:00
Liam 9e4b8cee15 pctl: move IParentalControlService 2024-02-21 23:00:01 -05:00
Liam d623433963 pctl: move types and results 2024-02-21 22:58:20 -05:00
Liam c84e79e742 psc: stub overlay notification channel 2024-02-21 22:54:05 -05:00
Liam da72188456 psc: rewrite IPmService 2024-02-21 22:26:32 -05:00
Liam dc62ca20ee psc: move IPmControl, IPmModule, IPmService 2024-02-21 22:26:12 -05:00
Liam 41d6ea28bf olsc: rewrite IOlscServiceForSystemService 2024-02-21 20:02:00 -05:00
Liam 0975b47dc4 olsc: add IRemoteStorageController 2024-02-21 19:47:54 -05:00
Liam c7414c03b7 olsc: add IDaemonController 2024-02-21 19:05:19 -05:00
Liam 6ac3fcb51e olsc: rewrite ITransferTaskListController 2024-02-21 18:36:17 -05:00
Liam b9e7d1d09e olsc: rewrite INativeHandleHolder 2024-02-21 18:19:48 -05:00
Liam 852ff835b5 olsc: rewrite IOlscServiceForApplication 2024-02-21 18:19:12 -05:00
Liam 450171275d olsc: move INativeHandleHolder, IOlscServiceForApplication, IOlscServiceForSystemService, ITransferTaskListController 2024-02-21 16:13:01 -05:00
liamwhite 56ea569c6d Merge pull request #13105 from t895/connection-fix
android: Misc controller fixes
2024-02-21 10:43:46 -05:00
liamwhite a98669d39d fs: add missing mutex header for member (#13106) 2024-02-21 16:43:05 +01:00
t895 4c2ddb2cb2 android: Connect controllers with supported styles
If you tried to connect a controller that was previously configured with an unsupported style for your game, when you try to connect that controller, it will immediately disconnect. This ensures that the controller that is being connected will be changed to the first supported style index before being connected.
2024-02-21 08:37:55 -05:00
t895 f46654b3b0 android: Add additional check for hasMapping
Controls can have no mapping if they are either "[empty]" or and empty string. This was causing an issue if you reset mapping on all controllers and then tried to play a game. The check to determine whether auto mapping was required would fail and leave you will no mapped controllers. This feels a bit like user error but it smooths things out if you forget so I see it as necessary.
2024-02-21 08:17:30 -05:00
t895 3637b5e4fb android: Enable all controller styles on emulation shutdown 2024-02-21 08:13:54 -05:00
Liam 58d8db6ac7 audio: format 2024-02-20 22:51:39 -05:00
Liam db225a3838 audio: rewrite IHardwareOpusDecoder 2024-02-20 22:15:38 -05:00
Liam a898ae4f7d audio: rewrite IAudioDevice 2024-02-20 22:15:38 -05:00
Liam f5c288e8ae audio: rewrite IHardwareOpusDecoderManager 2024-02-20 22:15:38 -05:00
Liam 722a7571a5 audio: rewrite IAudioRenderer 2024-02-20 22:15:38 -05:00
Liam 99b848b523 audio: rewrite IAudioRendererManager 2024-02-20 22:15:37 -05:00
Liam 103d1ad376 audio: split IHardwarweOpusDecoder, move IHardwareOpusDecoderManager 2024-02-20 22:15:37 -05:00
Liam f3a957d570 audio: split IAudioDevice, IAudioRenderer, move IAudioRendererManager 2024-02-20 22:15:37 -05:00
Liam c453442f87 audio: move IFinalOutputRecorderManager{,ForApplet} 2024-02-20 22:15:37 -05:00
Liam 147afedf27 audio: rewrite IAudioOutManager 2024-02-20 22:15:37 -05:00
Liam b11e15833e audio: rewrite IAudioOut 2024-02-20 22:15:37 -05:00
Liam 001db3afdd audio: rewrite IAudioInManager 2024-02-20 22:15:37 -05:00
Liam 1d37442af9 audio: rewrite IAudioIn 2024-02-20 22:15:37 -05:00
t895 9c51cb5361 android: Fix extra stick setting default values
The default value was accidentally hardcoded for all extra stick settings
2024-02-20 22:13:59 -05:00
liamwhite 3b13df9a82 Merge pull request #13095 from liamwhite/ns-oops
ns: fix alignment of uid type
2024-02-20 21:19:35 -05:00
Matías Locatti 40497ab00f Merge pull request #10529 from liamwhite/critical-spacing
caches: make critical reclamation less eager and possible in more cases
2024-02-20 23:19:27 -03:00
Liam 6c06717658 ns: fix alignment of uid type 2024-02-20 18:43:44 -05:00
liamwhite c980f572f4 Merge pull request #13091 from t895/device-renaming
android: Expose device name setting
2024-02-20 18:30:54 -05:00
t895 aa5605101a android: Expose device name setting 2024-02-20 08:16:38 -05:00
t895 7d2f11fac6 android: Add StringInputSetting settings item 2024-02-20 08:06:56 -05:00
Liam 0e032e03e6 vi: ignore shared buffer destruction failure on termination 2024-02-20 00:02:56 -05:00
Liam 3b78f33757 vi: remove superfluous locking in shared buffer manager 2024-02-19 23:59:35 -05:00
Liam 6fabb06764 nvnflinger/vi: don't recreate buffer queue on open/close 2024-02-19 23:59:35 -05:00
Andrew Pilley 9ef7dbbb2b Import keys from filesystem. (#13056)
* Import keys, re-initialize KeyManager, re-scan vfs, re-populate game list.

* <.< spelling.

* Update based on feedback on #13047 and this PR

* Based on feedback: Don't delete existing files. There's legitimate reasons that someone may want to keep their retail keys and title key handling is resilient to mismatches.

* Update src/yuzu/main.cpp

Co-authored-by: Tobias <thm.frey@gmail.com>

* Remove translation of literal filename/filter format.

* clang-format.

---------

Co-authored-by: Tobias <thm.frey@gmail.com>
2024-02-19 19:18:13 -05:00
liamwhite 6e55dc775d Merge pull request #13086 from t895/clear-button-fix
android: Fix broken clear button check
2024-02-19 19:18:05 -05:00
Charles Lombardo 30cfd14873 android: Have input overlay follow player 1 style index (#13085) 2024-02-19 22:47:21 +01:00
t895 fbec2ba35d android: Fix broken clear button check 2024-02-19 15:54:52 -05:00
liamwhite efa774c2e5 Merge pull request #13031 from german77/btm-interfcae
service: btm: Migrate service to new IPC
2024-02-19 14:49:42 -05:00
Charles Lombardo 0b351f0635 android: Fix overlay visibility reset (#13083) 2024-02-19 19:44:42 +01:00
Charles Lombardo f7ec8a8b77 android: Show done button when configuring input overlay (#13082) 2024-02-19 19:26:18 +01:00
FearlessTobi 459761fc2a Address review comments pt. 2 2024-02-19 19:22:51 +01:00
FearlessTobi 350efe5caf Address review comments 2024-02-19 19:20:46 +01:00
FearlessTobi f37b5ac9cc fs: Refactor to use cmif serialization 2024-02-19 19:20:46 +01:00
FearlessTobi 52f6c6b46c fs: Add FileSystemAccessor classes 2024-02-19 19:20:40 +01:00
FearlessTobi dcc9189dcb Address review comments 2024-02-19 19:11:07 +01:00
FearlessTobi 27dede35d2 fs: Add and use fs_save_data_types.h 2024-02-19 19:06:31 +01:00
FearlessTobi f01a14c5fd fsp: Migrate remaining interfaces to cmif serialization 2024-02-19 19:06:31 +01:00
FearlessTobi 8da9fbdb66 fsp-srv: Migrate to use cmif serialization 2024-02-19 19:06:31 +01:00
FearlessTobi 06d2c70a05 fsp: Move IMultiCommitManager to a seperate file 2024-02-19 19:06:31 +01:00
FearlessTobi 10f80939ee fsp: Move ISaveDataInfoReader to a seperate file 2024-02-19 19:06:31 +01:00
FearlessTobi e916791809 aoc: Migrate to use cmif serialization 2024-02-19 17:20:02 +01:00
FearlessTobi 1427917a8a core/aoc: Move IPurchaseEventManager to separate file 2024-02-19 16:36:24 +01:00
FearlessTobi 4d55e58ee4 scope_exit: Make constexpr
Allows the use of the macro in constexpr-contexts.
Also avoids some potential problems when nesting braces inside it.
2024-02-19 16:00:46 +01:00
FearlessTobi 79a983cc95 core/CMakeLists: Sort alphabetically 2024-02-19 15:51:02 +01:00
Narr the Reg 984329e0e6 Merge pull request #13006 from liamwhite/a-hat-in-vram
buffer_cache: use mapped range with large vertex buffer size
2024-02-18 23:37:49 -06:00
Narr the Reg 93bcf8e879 Merge pull request #13026 from liamwhite/scale-this-mf
shader_recompiler: fix non-const offset for arrayed image types
2024-02-18 23:37:25 -06:00
Narr the Reg 07d6778128 Merge pull request #13035 from liamwhite/vi2
vi: manage resources independently of nvnflinger and refactor
2024-02-18 23:36:53 -06:00
Narr the Reg a44256e149 Merge pull request #13048 from liamwhite/new-shell
ns: rewrite for new IPC
2024-02-18 23:36:29 -06:00
Liam 749f0564ae shader_recompiler: throw on missing geometry streams in geometry shaders 2024-02-19 00:34:00 -05:00
liamwhite 20f06586e9 Merge pull request #13070 from liamwhite/offset
am: account for offset in transfer memory storage
2024-02-18 19:03:56 -05:00
liamwhite 8001355894 Merge pull request #13030 from german77/audio-controller
service: audio: Rewrite IAudioController to new IPC
2024-02-18 19:03:49 -05:00
Liam a20eb0f265 ns: address review comments 2024-02-18 19:02:00 -05:00
Liam a956f0f4f8 vulkan_device: don't use fixed cap for memory limits 2024-02-18 18:59:13 -05:00
Liam 4df0f0c70c am: account for offset in transfer memory storage 2024-02-18 14:56:48 -05:00
german77 16b5a24d6f core: hid: Remove driver errors from log 2024-02-18 10:54:56 -06:00
Liam d082a80d79 nvnflinger: check for layers before compose 2024-02-18 11:25:52 -05:00
liamwhite f204de2c55 Merge pull request #13067 from t895/xbox-automap-invert
android: Flip AB/XY for xbox controllers during auto-mapping
2024-02-18 10:48:54 -05:00
t895 e69efb0f73 android: Flip AB/XY for xbox controllers during auto-mapping 2024-02-18 10:40:33 -05:00
liamwhite b67cdf9285 Merge pull request #13032 from german77/qlauncher
service: Implement functions needed by Qlaunch
2024-02-18 10:37:52 -05:00
Liam 9716503c0a ns: rewrite IQueryService 2024-02-18 10:35:39 -05:00
Liam 81a1a3f7f1 ns: rewrite IServiceGetterInterface 2024-02-18 10:35:39 -05:00
Liam ddeb9191f4 ns: rewrite IApplicationManagerInterface 2024-02-18 10:35:39 -05:00
Liam 0fe10d0b09 ns: move IDevelopInterface 2024-02-18 10:35:37 -05:00
Liam 1a9bd38a20 ns: rewrite ISystemUpdateInterface 2024-02-18 10:32:21 -05:00
Liam bea44994ee ns: move ISystemUpdateControl 2024-02-18 10:32:21 -05:00
Liam fbeb9ba203 ns: rewrite IVulnerabilityManagerInterface 2024-02-18 10:32:21 -05:00
Liam 2c11c1e0b1 ns: rewrite IReadOnlyApplicationControlDataInterface 2024-02-18 10:32:21 -05:00
Liam 8da1202195 ns: rewrite IReadOnlyApplicationRecordInterface 2024-02-18 10:32:21 -05:00
Liam 8f42fc46df ns: add IDynamicRightsInterface 2024-02-18 10:32:21 -05:00
Liam 780bd3276f ns: rewrite IDownloadTaskInterface 2024-02-18 10:32:21 -05:00
Liam 5d58d25c06 ns: rewrite IDocumentInterface 2024-02-18 10:32:21 -05:00
Liam d932c9b608 ns: rewrite IContentManagementInterface 2024-02-18 10:32:21 -05:00
Liam 1452c2a605 ns: move IFactoryResetInterface 2024-02-18 10:32:21 -05:00
Liam 40771d1ece ns: move IECommerceInterface 2024-02-18 10:32:21 -05:00
Liam bd69199bdd ns: move IApplicationVersionInterface 2024-02-18 10:32:21 -05:00
Liam cef212f9e8 ns: move IAccountProxyInterface 2024-02-18 10:32:21 -05:00
Liam cd6122b389 ns: rewrite IPlatformServiceManager 2024-02-18 10:32:21 -05:00
Liam 08a7ca1e20 ns: rename results header 2024-02-18 10:32:21 -05:00
liamwhite f01f9cdae2 Merge pull request #13064 from t895/auto-map-fail
android: Only do first startup automapping if nothing has been mapped
2024-02-18 10:27:49 -05:00
liamwhite 6b82a970cc Merge pull request #13049 from Leystryku/master
Fix Just Dance 2023 not booting
2024-02-18 10:25:18 -05:00
liamwhite 6d7339a332 Merge pull request #13065 from t895/cancel-button-fail
android: Show cancel button for the content install notice
2024-02-18 10:25:04 -05:00
t895 d62cea4622 android: Map touches to touchscreen
I neglected to map touches to the touchscreen when refactoring in the input mapping PR. This fixes that regression.
2024-02-18 10:00:37 -05:00
t895 45b159e21b android: Show cancel button for the content install notice 2024-02-18 09:23:46 -05:00
t895 7dc4962c83 android: Only do first startup automapping if nothing has been mapped 2024-02-18 09:18:54 -05:00
Leystryku eceaab34df service: Change unique_ptr to make_unique in GetCacheStorageMax 2024-02-18 07:03:50 +01:00
Leystryku 5b681caede file_sys: Formatting changes and use unique_ptr in GetCacheStorageMax 2024-02-18 06:17:35 +01:00
Leystryku d1ce748e01 file_sys: Fix nacp field cache_storage_max_index datatype 2024-02-18 06:00:42 +01:00
liamwhite c665076c11 Merge pull request #13047 from anpilley/import-firmware
Import firmware from folder of loose NCA files
2024-02-17 23:18:00 -05:00
t895 4b0ab0fc00 android: Create lifecycle utility to simplify common StateFlow operations 2024-02-17 23:09:09 -05:00
Leystryku 219af86660 service: Add proper GetCacheStorageMax implementation to IApplicationFunctions 2024-02-18 05:02:35 +01:00
t895 370f2eb7dd android: Use extension functions for view visibility and text marquee 2024-02-17 22:45:33 -05:00
liamwhite 73fd4133d1 Merge pull request #13052 from t895/serializable-stuff
android: Move CoreErrorDialogFragment to its own file
2024-02-17 22:22:46 -05:00
liamwhite 88fba66348 Merge pull request #13051 from german77/cheatmiss
dmnt: cheats: Fix valid address range
2024-02-17 22:22:14 -05:00
liamwhite 3cf4da7467 Merge pull request #13034 from t895/map-all-the-inputs
android: Input mapping
2024-02-17 22:22:06 -05:00
t895 ee98ee491a android: Move CoreErrorDialogFragment to its own file 2024-02-17 21:58:25 -05:00
Andrew Pilley 3551bd0134 Add check for corrupted firmware files after install. 2024-02-18 12:31:14 +11:00
german77 75a5c016f1 dmnt: cheats: Fix valid address range 2024-02-17 19:10:17 -06:00
Leystryku 884f6fabab fsp: Add FlushAccessLogOnSdCard stub 2024-02-18 00:52:22 +01:00
Leystryku 6635334f27 service: Add GetCacheStorageMax stub to IApplicationFunctions 2024-02-18 00:49:41 +01:00
german77 07143cd038 service: vi: Implement ListDisplayMode 2024-02-17 18:08:41 -05:00
Liam f5d736af4b vi: manage resources independently of nvnflinger and refactor 2024-02-17 18:08:38 -05:00
Liam e34074861c vi: move shared buffer management from nvnflinger 2024-02-17 18:01:41 -05:00
Liam b1f1beae41 nvnflinger: convert to process 2024-02-17 18:01:41 -05:00
Liam f5abfc70bf am: unify display layer management 2024-02-17 18:00:28 -05:00
Narr the Reg 315a7fc1f9 Merge pull request #13017 from liamwhite/suspension
kernel: add and enable system suspend type
2024-02-17 17:00:07 -06:00
Narr the Reg a046ccda14 service: audio: Rewrite IAudioController to new IPC 2024-02-17 15:05:13 -06:00
Andrew Pilley 38baa215de >.> spelling 2024-02-18 07:58:41 +11:00
Andrew Pilley 17c8400218 cleanup by clang-format. 2024-02-18 07:41:24 +11:00
Andrew Pilley c78e2654db Improve behavior when one or more firmware files can't be deleted. 2024-02-18 07:38:47 +11:00
Narr the Reg d46b555cb9 service: btm: Implement function needed by QLaunch 2024-02-17 12:39:36 -06:00
t895 a29782ce6a android: Input mapping 2024-02-17 12:32:33 -05:00
Kelebek1 8da2a1edba Close reference to TimeZoneBinary on game close 2024-02-17 16:00:14 +00:00
Andrew Pilley 93a760ff71 Merge branch 'yuzu-emu:master' into import-firmware 2024-02-17 23:36:43 +11:00
Andrew Pilley 297bf111c2 Implement In-app firmware installation. 2024-02-17 23:33:55 +11:00
t895 95ea8e9553 hid_core: Prevent crash if we try to iterate through empty color devices list 2024-02-16 21:11:47 -05:00
t895 31b531fb2b hid_core: Use dedicated "port" for android's input overlay 2024-02-16 21:09:42 -05:00
t895 f21569a4eb config: Reset per-game profile name on load if empty 2024-02-16 21:07:03 -05:00
t895 4e34af1a26 android: Allow SettingsItems to use String or StringRes 2024-02-16 21:04:26 -05:00
Narr the Reg e8bdc40b46 service: erpt: Implement SubmitContext 2024-02-16 12:22:09 -06:00
Narr the Reg a685ba9caf service: caps: Implement GetAlbumFIleList 2024-02-16 12:15:37 -06:00
Narr the Reg 50104dd9a0 service: btm: Migrate service to new IPC 2024-02-16 12:15:06 -06:00
Narr the Reg ae802f2245 service: am: Fix GetMainAppletAvailableUsers for user creation 2024-02-16 12:13:10 -06:00
Narr the Reg 4c967f6a91 service: am: Add QLaunch launcher 2024-02-16 12:13:10 -06:00
liamwhite d606bea43e Merge pull request #13016 from german77/set-interface2
service: set: Migrate ISystemSettingsServer to new IPC
2024-02-16 13:11:36 -05:00
Liam 8c5083b014 shader_recompiler: fix non-const offset for arrayed image types 2024-02-15 18:49:23 -05:00
Liam 0466d1dedb Revert "shader_recompiler: use only ConstOffset for OpImageFetch"
This reverts commit d69e462d13.
2024-02-15 18:38:56 -05:00
Liam e9dc3bd26b kernel: add and enable system suspend type 2024-02-14 17:03:50 -05:00
Narr the Reg 43715edd7e service: set: Migrate ISystemSettingsServer to new IPC 2024-02-14 12:40:10 -06:00
Liam 0f18bf4a06 vi: rewrite IApplicationDisplayService 2024-02-14 12:03:32 -05:00
Liam 04b3fdca99 vi: rewrite ISystemDisplayService 2024-02-14 12:03:32 -05:00
Liam f675c54cbe vi: rewrite IManagerDisplayService 2024-02-14 12:03:32 -05:00
Liam 33daf4463b vi: rewrite IHOSBinderDriver 2024-02-14 12:03:32 -05:00
Liam 5ad57cb878 vi: rewrite IApplicationRootService, IManagerRootService, ISystemRootService 2024-02-14 12:03:32 -05:00
Liam 8de4523094 vi: split into implementation files 2024-02-14 12:03:32 -05:00
Liam a989a7ad9c vi: extract types 2024-02-14 12:03:31 -05:00
liamwhite d66715a9a4 Merge pull request #12996 from german77/settings-ipc
service: set: Migrate ISettingsServer to new interface
2024-02-14 12:02:46 -05:00
Narr the Reg 21e754cffb Merge pull request #12993 from liamwhite/am-rewrite-part1
am: rewrite part 1
2024-02-14 11:02:38 -06:00
german77 098788d96a service: set: Migrate ISettingsServer to new interface 2024-02-13 17:21:52 -06:00
liamwhite 887db829ba Merge pull request #13009 from t895/message-dialog-fix
android: Message dialog tweaks
2024-02-13 14:46:56 -05:00
t895 a3f5a8151f android: Prevent user from dismissing mod/cheat notice
Makes sure that a user can't miss this dialog by touching outside the window. They must press "OK" or "Close" to continue.
2024-02-13 13:46:14 -05:00
t895 d2fd59733b android: Show cancel option for delete addons dialog 2024-02-13 13:45:17 -05:00
t895 cb0d5896c5 android: Swap ok and close default strings for MessageDialogFragment 2024-02-13 13:44:35 -05:00
t895 4507d2f9c3 android: Add screen vertical alignment setting
It's a bit of a hack since I'm moving the view instead of telling the Vulkan surface to bias itself to the top/bottom/center but it works fine for now.
2024-02-13 10:10:59 -05:00
t895 1b48ee6e45 android: Expose FSR sharpness slider 2024-02-13 10:04:59 -05:00
Liam 02430ed002 buffer_cache: use mapped range with large vertex buffer size 2024-02-13 08:27:33 -05:00
liamwhite 12d2346cc9 Merge pull request #12974 from german77/ldn-interface
service: ldn: Migrate and refractor service to new IPC
2024-02-13 08:18:31 -05:00
liamwhite c741b765dd Merge pull request #12975 from FernandoS27/keep-your-own-vodoo-doll-away-from-gf
Texture Cache: Fix untracking on GPU remap
2024-02-13 08:17:59 -05:00
liamwhite 1715a70dbe Merge pull request #12989 from german77/hotcake
yuzu: Allow non npad hotkeys and disable controller navigation requirement
2024-02-13 08:17:50 -05:00
liamwhite 48b4e77b3e Merge pull request #12998 from t895/swap-clear-actions
android: Swap confirmation buttons for delete save data dialog
2024-02-13 08:17:39 -05:00
liamwhite dc4cbbb021 Merge pull request #12941 from FearlessTobi/setting-tooltips
shared_translation: Add tooltips for yuzu settings
2024-02-13 08:17:32 -05:00
Liam ebf7e6f2f5 device_memory_manager: skip unregistered interfaces on invalidate 2024-02-12 20:02:59 -05:00
t895 981aac6281 android: Swap confirmation buttons for delete save data dialog 2024-02-12 16:54:46 -05:00
t895 57b827eabf android: Extend MessageDialogFragment to support a negative action and button titles 2024-02-12 16:54:19 -05:00
Liam 47d07fb3a1 am: move out omm interfaces to new module 2024-02-12 09:18:29 -05:00
Liam 871b238b7a am: rewrite IApplicationCreator 2024-02-12 09:18:27 -05:00
Liam 922723b54b am: add IApplicationAccessor 2024-02-12 09:17:25 -05:00
Liam 844cd30b4a am: rewrite ILockAccessor 2024-02-12 09:17:25 -05:00
Liam 6319cdc984 am: rewrite IWindowController 2024-02-12 09:17:25 -05:00
Liam 0485f9a2e9 am: rewrite IStorage 2024-02-12 09:17:25 -05:00
Liam 8ac41918f0 am: rewrite IStorageAccessor, ITransferStorageAccessor 2024-02-12 09:17:25 -05:00
Liam 98024d347e am: rewrite ISelfController 2024-02-12 09:17:21 -05:00
Liam 4d5f62c067 am: rewrite IProcessWindingController 2024-02-12 09:16:03 -05:00
Liam b1f3a2a5cc am: rewrite ILibraryAppletSelfAccessor 2024-02-12 09:16:02 -05:00
Liam a425e2584f am: rewrite ILibraryAppletCreator 2024-02-12 09:16:02 -05:00
Liam 938cf772c8 am: rewrite ILibraryAppletAccessor 2024-02-12 09:16:02 -05:00
Liam 409155d98f am: rewrite IHomeMenuFunctions 2024-02-12 09:16:02 -05:00
Liam d1822663e9 am: rewrite IGlobalStateController, add ICradleFirmwareUpdater 2024-02-12 09:16:02 -05:00
Liam bca65d4465 am: rewrite IDisplayController 2024-02-12 09:16:02 -05:00
Liam 32407f4bd1 am: move IDebugFunctions 2024-02-12 09:16:02 -05:00
Liam 2777aafcc2 am: rewrite ICommonStateGetter 2024-02-12 09:16:02 -05:00
Liam 139079a6e7 am: rewrite IApplicationFunctions 2024-02-12 09:16:00 -05:00
Liam 959fccf66d am: rewrite IAppletCommonFunctions 2024-02-11 21:59:33 -05:00
Liam f7c39ccb36 am: rewrite IAudioController 2024-02-11 21:59:33 -05:00
Liam 7676e93cc9 am: rewrite ISystemAppletProxy 2024-02-11 21:59:33 -05:00
Liam 39891ce919 am: rewrite ILibraryAppletProxy 2024-02-11 21:59:33 -05:00
Liam ccd3573085 am: rewrite IApplicationProxy 2024-02-11 21:59:33 -05:00
Liam 0276ae2f95 am: rewrite appletAE, appletOE 2024-02-11 21:59:33 -05:00
Narr the Reg e29b241a5a Merge pull request #12756 from liamwhite/applet-multiprocess-hwc
general: applet multiprocess
2024-02-11 20:58:28 -06:00
german77 2a72c86e52 service: news: Stub remaining functions 2024-02-11 17:56:26 -06:00
german77 c8f7f5b060 yuzu: Allow non npad hotkeys and disable controller navigation requirement 2024-02-11 16:29:31 -06:00
Narr the Reg a21b829787 service: ldn: Migrate and refractor service to new IPC 2024-02-11 13:11:11 -06:00
Liam 25f5a651a9 texture_cache: tweak iteration tracking change 2024-02-11 13:41:13 -05:00
Liam 9a10c66e40 texture_cache: avoid overestimation of ASTC texture sizes 2024-02-11 13:41:13 -05:00
Liam e882f6c1c3 caches: make critical reclamation less eager and possible in more cases 2024-02-11 13:41:13 -05:00
t895 79239d063e config: Always delete control settings in ClearControlPlayerValues 2024-02-11 07:35:54 -05:00
Charles Lombardo ad55aa75fc Merge pull request #12978 from liamwhite/ffs-qcom
host_shaders: add vendor workaround for adreno drivers
2024-02-10 22:42:25 -05:00
liamwhite 81aa02fc80 Merge pull request #12969 from german77/bcat-interface
service: bcat: Migrate and refractor service to new IPC
2024-02-10 16:00:43 -05:00
liamwhite a7f0fb91b4 Merge pull request #12949 from liamwhite/multi-wait
service: add os types and multi wait API
2024-02-10 16:00:34 -05:00
Liam 89330e2b25 am: use applet program loading for tested versions 2024-02-10 12:38:19 -05:00
Liam 47eeb0008b host_shaders: add vendor workaround for adreno drivers 2024-02-10 12:02:37 -05:00
Fernando Sahmkow 75847f0e8b Texture Cache: Fix untracking on GPU remap 2024-02-10 14:49:49 +01:00
Narr the Reg 5459e10d7a service: bcat: Address review issues 2024-02-10 00:23:23 -06:00
Narr the Reg ee8565b36e service: bcat: Implement news interfaces 2024-02-10 00:23:22 -06:00
Narr the Reg 92efd5ceed service: bcat: Migrate and refractor service to new IPC 2024-02-10 00:23:22 -06:00
Kevnkkm 5383720d01 Fix multiplayer player count color in dark themes | Temp fix until #12744: Add green color for counts > 0 and < max_players - 1 (#12930)
* fix intended player count color in dark themes

* Refactor

* Change to green color for white and dark themes

* Add const to the colors and extra name for green color
2024-02-09 18:45:11 -06:00
Narr the Reg 5b2fa69995 Merge pull request #12951 from liamwhite/more-ipc
ipc: additional fixes
2024-02-09 10:51:03 -06:00
liamwhite 354e0a2791 Merge pull request #12920 from t895/jni-common
android: Move JNI setup and helpers to common
2024-02-09 11:49:25 -05:00
liamwhite 7bf634bca4 Merge pull request #12927 from german77/cheat-pause
dmnt: cheat: Add pause and resume support
2024-02-09 11:47:34 -05:00
liamwhite 80f4a91d35 Merge pull request #12968 from t895/thermal-status
android: Thermal throttling indicator
2024-02-09 11:47:17 -05:00
liamwhite dcca4e6d9b Merge pull request #12964 from t895/foreground-service-test
android: Remove foreground service
2024-02-09 11:47:11 -05:00
liamwhite bf9621f71f Merge pull request #12966 from german77/free_npad
service: hid: Free npad applet resource
2024-02-09 11:47:05 -05:00
Liam e30a6211f5 am: fix focus states and display of indirect keyboard 2024-02-09 09:20:53 -05:00
Liam 3b2431d20f am: stub SetMediaPlaybackState for self controller 2024-02-09 09:20:53 -05:00
Liam b4b3ddf4b4 general: add default configurations for applet mode 2024-02-09 09:20:53 -05:00
Liam ba17a8c2b8 gpu: dependency-inject scaling/antialiasing filter state for capture layers 2024-02-09 09:20:53 -05:00
Liam ce72818075 nvnflinger/gpu: implement applet capture 2024-02-09 09:20:53 -05:00
Liam 1c32e4157c nvnflinger/gpu: implement blending 2024-02-09 09:20:53 -05:00
Liam effe70a904 nvservices: unmap only on last container free 2024-02-09 09:20:53 -05:00
Liam 85abd0243e video_core: defensively program around unmapped device pointers 2024-02-09 09:20:53 -05:00
Liam 8a14e13295 core: fix multiprocess with nce 2024-02-09 09:20:53 -05:00
t895 db95f51c69 android: Use utility function for applying view margins 2024-02-09 07:07:06 -05:00
t895 bce86d8102 android: Add thermal throttling overlay 2024-02-09 07:07:05 -05:00
liamwhite c3cab745cf Merge pull request #12967 from german77/let_me_out
service: Fix OutLargeData attributes
2024-02-08 21:33:22 -05:00
t895 54d8e5e643 android: Remove foreground service 2024-02-08 21:04:14 -05:00
Narr the Reg 10633515cb service: Fix OutLargeData attributes 2024-02-08 19:40:06 -06:00
Narr the Reg b765a7e22c service: hid: Free npad applet resource 2024-02-08 18:50:54 -06:00
t895 95199610fd android: Fix regex for git version 2024-02-08 14:24:15 -05:00
t895 0e001c4ab8 android: Run OnEmulationStarted frontend callback in another thread
The JVM has problems with attaching to a Fiber so we start a new thread and wait for the result here.
2024-02-08 14:13:46 -05:00
t895 5200236f89 common: fs: Expand android macros 2024-02-08 14:13:46 -05:00
t895 28fcbacc78 android: Move JNI setup and helpers to common 2024-02-08 13:45:26 -05:00
FearlessTobi d0279b25e0 shared_translation: Add tooltips for general settings 2024-02-08 18:13:22 +01:00
Fernando S 31aa25eba7 Merge pull request #12903 from liamwhite/const-offset
shader_recompiler: use only ConstOffset for OpImageFetch
2024-02-08 17:00:45 +01:00
liamwhite d5063c8af6 Merge pull request #12954 from german77/hidbus-interface
service: hid: Migrate hidbus to new interface
2024-02-08 11:00:11 -05:00
liamwhite d26c4a5090 Merge pull request #12914 from FernandoS27/vc-refactor
VideoCore Refactor Part 1.
2024-02-08 10:59:59 -05:00
Narr the Reg 0201a87e4f service: hid: Migrate hidbus to new interface 2024-02-07 18:07:32 -06:00
Fernando Sahmkow 4a9c6d933a SMMU: Ensure the backing address range matches the current 2024-02-07 23:47:42 +01:00
liamwhite 81b1330de9 Merge pull request #12939 from german77/wonder
dmnt: cheat: Invalidate cache on memory writes
2024-02-07 15:33:44 -05:00
liamwhite 0b161753e4 Merge pull request #12932 from german77/any-key-is-good
yuzu: Make controller keys easier to assign
2024-02-07 15:33:39 -05:00
liamwhite 976bbe4d86 Merge pull request #12912 from FearlessTobi/ports-feb-24
Port some small changes from Citra (web_backend and translations)
2024-02-07 15:33:28 -05:00
Charles Lombardo 228e7ce6ed Merge pull request #12909 from t895/play-store-automation
ci: android: Play store publishing setup
2024-02-07 15:32:42 -05:00
Liam 5ead021684 ipc: additional fixes 2024-02-07 15:06:15 -05:00
Liam 4b89d8e54e glue: use multi wait API 2024-02-07 12:15:01 -05:00
Liam b3d763f81e server_manager: use multi wait API 2024-02-07 12:15:01 -05:00
Liam 8e490b7420 service: add os types and multi wait API 2024-02-07 12:14:46 -05:00
german77 4351f91758 yuzu: Make controller keys easier to assign 2024-02-06 16:51:39 -06:00
Narr the Reg f07a3ef82c dmnt: cheat: Invalidate cache on memory writes 2024-02-06 13:49:48 -06:00
FearlessTobi 7ee910de19 shared_translation: Add tooltips for advanced graphics and system settings 2024-02-06 16:42:57 +01:00
FearlessTobi f1ae959d94 shared_translation: Add tooltips for core and graphics settings 2024-02-06 16:29:13 +01:00
liamwhite 9e83fdcde3 Merge pull request #12883 from FernandoS27/memory_manager_mem
MemoryManager: Reduce the page table size based on last big page address.
2024-02-06 10:25:03 -05:00
liamwhite 93b1636e83 Merge pull request #12928 from german77/motion-mp
service: hid: Add multiprocess support to six axis input
2024-02-06 10:24:46 -05:00
liamwhite e91763d920 Merge pull request #12933 from german77/irs-interface
service: irs: Migrate service to new interface
2024-02-06 10:24:30 -05:00
FearlessTobi 9b15236583 web_backend: Fix compilation 2024-02-06 15:48:04 +01:00
german77 ce7db5d075 service: hid: Migrate hid debug service to new interface 2024-02-06 00:38:46 -06:00
german77 bc3955e125 service: irs: Migrate service to new interface 2024-02-06 00:14:16 -06:00
german77 4e0a08ccae service: hid: Add multiprocess support to six axis input 2024-02-05 17:19:31 -06:00
german77 e12d580819 service: hid: Ensure aruid data is initialized 2024-02-05 17:17:21 -06:00
Fernando Sahmkow 758d895408 Common: Rename SplitRangeSet to OverlapRangeSet 2024-02-05 23:01:17 +01:00
german77 4397b591ec dmnt: cheat: Add pause and resume support 2024-02-05 14:38:26 -06:00
Charles Lombardo 645c4b9646 Merge pull request #12905 from liamwhite/hwc-release
nvnflinger: release buffers before presentation sleep
2024-02-05 13:43:22 -05:00
Charles Lombardo 2f84b89a9f Merge pull request #12924 from liamwhite/pedantic-unsigned
typed_address: test values are unsigned
2024-02-05 13:43:06 -05:00
liamwhite 1f6571553f Merge pull request #12925 from german77/linux-tab
yuzu: Fully hide linux tab
2024-02-05 13:41:31 -05:00
liamwhite 1939b7d17c Merge pull request #12915 from german77/cheat
dmnt: cheats: Update cheat vm to latest version
2024-02-05 13:41:21 -05:00
german77 e607ab8a5e yuzu: Fully hide linux tab 2024-02-05 11:58:20 -06:00
Liam b4c3007b7c typed_address: test values are unsigned 2024-02-05 12:47:10 -05:00
german77 2015976f1f dmnt: cheats: Silence memory errors 2024-02-05 11:08:24 -06:00
Liam d69e462d13 shader_recompiler: use only ConstOffset for OpImageFetch 2024-02-05 12:01:09 -05:00
Fernando Sahmkow 80d505b5cf Buffer Cache: Refactor to use Range sets instead 2024-02-05 11:06:52 +01:00
Liam aa3d4cc2da gdb: fix load/save of fp values in a32 2024-02-04 20:28:43 -05:00
german77 2b2282ddb4 dmnt: cheats: Update cheat vm to latest version 2024-02-04 17:46:20 -06:00
Fernando Sahmkow 6f91002f90 NVDRV: Refactor HeapMapper to use RangeSets 2024-02-04 20:01:50 +01:00
Fernando Sahmkow 75f5d982a0 Common: Introduce Range Sets 2024-02-04 20:01:50 +01:00
Fernando Sahmkow 4d97c54676 VideoCore: Move Slot Vector to Common 2024-02-04 20:01:47 +01:00
Tobias 9dfd9bb403 citra_qt/configure_ui: Show country of language in the combobox
This prevents an issue where we had seperate versions of the same language for different regions and they were not distinguishable (e.g. "Chinese (China)" and "Chinese (Taiwan)").

Also makes it so we do not need to hardcode specific languages anymore.
2024-02-04 17:06:44 +01:00
t895 a7e7f1b899 ci: android: Play store publishing setup 2024-02-04 10:54:18 -05:00
FearlessTobi 0caf16aedb web_backend: Sync with Citra implementation
While porting https://github.com/citra-emu/citra/pull/7347, I noticed the code of yuzu was not up-to-date with the implementation from Citra.
2024-02-04 16:51:52 +01:00
liamwhite cb3346de41 Merge pull request #12892 from liamwhite/serialization-stuff
cmif_serialization: enforce const for references
2024-02-04 09:48:33 -05:00
Liam d52e9b0f82 nvnflinger: release buffers before presentation sleep 2024-02-03 17:14:43 -05:00
liamwhite 4aedc90174 Merge pull request #12901 from Kelebek1/timezone_firmware_fix
Fix firmware timezone boot load check.
2024-02-03 11:10:30 -05:00
liamwhite fc342348c3 Merge pull request #12895 from german77/files
service: fs: Skip non user id folders
2024-02-03 11:10:24 -05:00
liamwhite 90bb6fa836 Merge pull request #12877 from german77/npad-fixed
service: hid: Multiple fixes
2024-02-03 11:10:14 -05:00
liamwhite 9e624db6cc Merge pull request #12852 from Calinou/multiplayer-color-player-counts
Color player counts in the multiplayer public lobby list
2024-02-03 11:10:00 -05:00
liamwhite 2624dbdfb6 Merge pull request #12851 from Calinou/multiplayer-persist-filters
Persist filters in multiplayer public lobby list
2024-02-03 11:09:51 -05:00
liamwhite 93d377ac3a Merge pull request #12850 from Calinou/multiplayer-add-hotkeys
Add hotkeys for multiplayer actions
2024-02-03 11:09:41 -05:00
Kelebek1 706cc35feb Fix firmware timezone boot load check. 2024-02-03 15:21:10 +00:00
Narr the Reg 1f0a9436c7 service: fs: Skip non user id folders 2024-02-02 13:25:38 -06:00
Liam b950122d47 cmif_serialization: enforce const for references 2024-02-02 09:32:10 -05:00
Fernando S 03b1662ce9 Merge pull request #12857 from liamwhite/const
service: use const references for input raw data
2024-02-02 15:10:46 +01:00
Fernando S f8174451f5 Merge pull request #12845 from liamwhite/notif
notif: rewrite for new IPC
2024-02-02 15:09:57 +01:00
liamwhite 3868b44440 Merge pull request #12885 from Moonlacer/eclipse-fix
structured_control_flow: Add Samsung Proprietary Driver ID to Reorder Pass
2024-02-02 09:08:54 -05:00
Fernando S 9162ecd960 Merge pull request #12761 from liamwhite/mp-composite
video_core: rewrite presentation for layer composition
2024-02-02 15:08:06 +01:00
Moonlacer 309ca2bd3b Clang Fix 2024-02-01 18:15:21 -06:00
Moonlacer 31200d0c7a Add Samsung Proprietary Driver ID to Reorder Pass
For RDNA-based Samsung Xclipse GPUs
2024-02-01 17:53:26 -06:00
Liam f191c058e6 service: use const references for input raw data 2024-02-01 12:57:54 -05:00
Narr the Reg 06bb386941 service: hid: Multiple fixes 2024-02-01 10:37:44 -06:00
liamwhite 7e5d50c380 Merge pull request #12875 from FernandoS27/sw-blitter
SwBlitter: Fix Pitch linear reading/writting
2024-02-01 11:34:06 -05:00
liamwhite 9b3d0ed178 Merge pull request #12848 from german77/caps-interface
service: capsrv: Migrate to new IPC
2024-02-01 11:33:55 -05:00
liamwhite 6e85d48a8b Merge pull request #12780 from german77/touch_resource5
service: hid: Fully implement touch resource
2024-02-01 11:33:44 -05:00
Fernando Sahmkow 4d65645d80 MemoryManager: Reduce the page table size based on last big page address. 2024-02-01 13:00:36 +01:00
Fernando Sahmkow 4c68fc6ea7 SwBlitter: Fix Pitch linear reading/writting 2024-01-31 23:02:10 +01:00
Liam 7aed3eb94b hardware_composer: implement speed limit extensions 2024-01-31 11:27:21 -05:00
Liam 5ec76db392 nvnflinger/gpu: implement layer stack composition 2024-01-31 11:27:21 -05:00
Liam d2f98ce312 renderer_opengl: implement layer stack composition 2024-01-31 11:27:21 -05:00
Liam f727f13cb9 renderer_vulkan: implement layer stack composition 2024-01-31 11:27:21 -05:00
Liam 2a314f9e2e renderer_opengl: split up blit screen resources into antialias and window adapt passes 2024-01-31 11:27:21 -05:00
Liam 64eb14d45a renderer_opengl: move out ownership of FSR resources 2024-01-31 11:27:21 -05:00
Liam cc8493ea2e renderer_vulkan: convert FSR to graphics pipeline 2024-01-31 11:27:21 -05:00
Liam dbcfa26891 renderer_opengl: move out FSR shader source construction 2024-01-31 11:27:20 -05:00
Liam bd9c228844 renderer_opengl: split out FXAA 2024-01-31 11:27:20 -05:00
Liam 5d9ae38249 renderer_opengl: split out SMAA 2024-01-31 11:27:20 -05:00
Liam 86bfa837fc renderer_vulkan: split up blit screen resources into separate antialias and window adapt passes 2024-01-31 11:27:20 -05:00
Liam f50296ab23 renderer_vulkan: isolate FXAA from blit screen 2024-01-31 11:27:20 -05:00
Liam e8fa898313 renderer_opengl: isolate core presentation code 2024-01-31 11:27:20 -05:00
Liam cd8049a5e2 video_core: consistently account for resolution scaling when rendering 2024-01-31 11:27:20 -05:00
Liam 84678c7014 video_core: simplify accelerated surface fetch and crop handling between APIs 2024-01-31 11:27:20 -05:00
Narr the Reg 2bc64f4762 Merge pull request #12760 from liamwhite/mp-am
am: rewrite for multiprocess support
2024-01-31 10:25:28 -06:00
Narr the Reg 18e18af578 Merge pull request #12858 from liamwhite/non-blocking
internal_network: only poll for accept on blocking sockets
2024-01-31 10:24:30 -06:00
liamwhite df38bba6a8 Merge pull request #12869 from FernandoS27/smmu-fixes
SMMU: A set of different fixes.
2024-01-31 11:22:29 -05:00
liamwhite 6ab8b0e26b Merge pull request #12864 from Kelebek1/small_time_fixes
Small time fixes
2024-01-31 11:22:16 -05:00
liamwhite c0eb2563ca Merge pull request #12868 from t895/engine-per-game
settings: Allow audio sink, input, and output to be set per game
2024-01-31 11:22:04 -05:00
liamwhite c0a03eca20 aoc: fix DLC listing (#12867) 2024-01-31 17:21:34 +01:00
Fernando Sahmkow bdc1ed0ffe Device Memory Manager: ensure raster protection only within mapped device addresses. 2024-01-31 16:38:51 +01:00
Fernando Sahmkow 0ed58aa5ac DeviceMemory: Make counter types configurable 2024-01-31 16:38:51 +01:00
Fernando Sahmkow 811f5f1b1e NVDRV: Join the heaper optimization blocks 2024-01-31 16:38:51 +01:00
Liam 27989bd49c smmu: use new range mutex construction for protecting counters 2024-01-31 16:38:51 +01:00
Fernando Sahmkow 352f6d22e3 Texture Cache: make sparse texture table per channel 2024-01-31 16:38:51 +01:00
t895 6c6d6ece77 settings: Allow audio sink, input, and output to be set per game 2024-01-31 09:31:19 -05:00
Kelebek1 61b05f43ae Remove a few hacks for clock setups, which seem to no longer be needed, but fix network clock to local clock on every boot. Also fix some logging strings. 2024-01-31 01:41:59 +00:00
Liam 6f216bb3e7 am: push storage from error applet with non-zero size 2024-01-30 20:13:48 -05:00
liamwhite 57fdab5f0e Merge pull request #12860 from liamwhite/serialization2
cmif_serialization: fix LargeData types
2024-01-30 14:29:41 -05:00
liamwhite 5a5dc2deb0 Merge pull request #12859 from german77/led
service: hid: Implement GetPlayerLedPattern accurately
2024-01-30 14:29:33 -05:00
Liam 6e1c3536ce cmif_serialization: fix LargeData types 2024-01-30 12:26:32 -05:00
liamwhite a8d9ed845e Merge pull request #12856 from liamwhite/serialization
cmif_serialization: fix out layout calculation
2024-01-30 11:59:00 -05:00
Narr the Reg ac45bf3adb service: hid: Implement GetPlayerLedPattern accurately 2024-01-30 10:57:03 -06:00
Hugo Locurcio 9b126e72f8 Persist filters in multiplayer public lobby list
After connecting to a room, the chosen filter text, "Games I Own",
"Hide Empty Rooms" and "Hide Full Rooms" values are persisted
to configuration so they are preserved across restarts.

This makes it easier to rejoin a room if you regularly play the same
game, or after a crash.
2024-01-30 17:40:29 +01:00
Hugo Locurcio 4b2758f3c5 Color player counts in the multiplayer public lobby list
- Full lobbies have their player count displayed in red.
- Lobbies with one slot left have their player count displayed in orange.
- Empty lobbies have their player count grayed out.
2024-01-30 17:38:21 +01:00
Liam 52904fc719 internal_network: only poll for accept on blocking sockets 2024-01-30 10:29:05 -05:00
LotP1 74a1811a41 Update sockets.h
forgot to realign the enum
2024-01-30 12:24:47 +01:00
LotP1 4de2b435c5 Update src/core/hle/service/sockets/sockets.h
Co-authored-by: liamwhite <liamwhite@users.noreply.github.com>
2024-01-30 11:01:04 +01:00
Liam f37e843722 cmif_serialization: fix out layout calculation 2024-01-30 02:22:45 -05:00
Narr the Reg c75d2102f1 service: capsrv: Migrate to new IPC 2024-01-29 20:35:45 -06:00
Liam 82e8d85f40 am: stop emulation when all applets are closed 2024-01-29 20:17:33 -05:00
Liam 7df27bbef6 core: support offline web applet 2024-01-29 20:17:33 -05:00
Liam 953f05f76b am: return AppletDataBroker and use for frontend applets 2024-01-29 20:17:33 -05:00
Liam 42f931bff1 am: rework IStorage for transfer storage 2024-01-29 20:17:33 -05:00
Liam 49f10b2e54 am: migrate global state to per-applet state structure 2024-01-29 20:17:33 -05:00
Liam 1a51a1281c am: retrieve main applet creation info from frontend 2024-01-29 20:17:09 -05:00
Hugo Locurcio dd7c1354f7 Add hotkeys for multiplayer actions
Default shortcuts were chosen as to be intuitive (use the first letter
of the action, or the second word's first letter) and work on all
types of keyboards. The hotkeys can be used while playing a game too,
as they are application-wide.
2024-01-30 01:32:14 +01:00
Liam 6925b78bd5 am: re-namespace frontend applets to frontend directory 2024-01-29 18:43:45 -05:00
Liam 9bfb67051e am: add new datatypes for per-applet state 2024-01-29 18:43:45 -05:00
Liam 62369ce46c service: split am into components 2024-01-29 18:43:45 -05:00
LotP1 6b76bac66a Update sockets_translate.cpp
Align the error case with it's index in the Errno enum
2024-01-30 00:34:07 +01:00
LotP1 eaaae37cde Update sockets.h
Add the CONNREFUSED error to the Service::Sockets::Errno enum
2024-01-30 00:27:11 +01:00
LotP1 3a8269d981 Update sockets_translate.cpp
Add support for the CONNREFUSED Errno.
Without this Connect() will return SUCCESS when a connection is refused, instead of an error code. This causes code, that relies on the result of Connect() being SUCCESS, to execute when it shouldn't.
2024-01-30 00:23:43 +01:00
Narr the Reg f1ba945f8e service: mii: Set arguments as const 2024-01-29 11:22:44 -06:00
Liam 6e3762d2e1 notif: rewrite for new IPC 2024-01-29 11:56:32 -05:00
liamwhite efc1a19268 Merge pull request #12843 from t895/system-driver-whoops
android: Don't show delete button for system driver
2024-01-29 09:09:38 -05:00
liamwhite 5c2c949647 Merge pull request #12837 from german77/cat
service: am: Focus state changed goes last
2024-01-29 09:09:00 -05:00
liamwhite 38a860d900 Merge pull request #12836 from german77/im_home
service: hid: Implement home, capture and sleep buttons
2024-01-29 09:08:52 -05:00
liamwhite 9b07313a94 Merge pull request #12814 from Kelebek1/time_new_ipc
Move time services to new IPC and add debug printing
2024-01-29 09:08:46 -05:00
liamwhite bc857b4b5a Merge pull request #12439 from FireBurn/vkresult
Simplify VkResult lookup
2024-01-29 09:08:32 -05:00
t895 6e6b084c6c android: Don't show delete button for system driver 2024-01-29 06:59:34 -05:00
amazingfate 2f76126763 fix build for gcc 11 2024-01-29 14:00:56 +08:00
german77 0e5b948301 service: am: Focus state changed goes last 2024-01-28 22:02:01 -06:00
german77 fd1bc5e569 service: hid: Implement home, capture and sleep buttons 2024-01-28 19:28:37 -06:00
german77 979e27ea91 service: hid: Restore active aruid 2024-01-28 18:27:25 -06:00
Narr the Reg 575f4308e0 service: hid: Fully implement touch resource 2024-01-28 18:27:25 -06:00
liamwhite 3f246847f8 Merge pull request #12555 from flodavid/fix-gamemode-setting
Save gamemode configuration and add per-game config
2024-01-28 15:02:34 -05:00
liamwhite 27125601cd Merge pull request #12821 from merryhime/atomic_ops
atomic_ops: Reduce code duplication with templates
2024-01-28 15:02:28 -05:00
liamwhite cc55e22c43 Merge pull request #12831 from Kelebek1/audren_multi
Use the input process handle to get the correct application's memory
2024-01-28 15:02:22 -05:00
liamwhite f055484a21 Merge pull request #12833 from merryhime/vsync-crash
configure_graphics: Avoid crash when vsync_mode_combobox is empty
2024-01-28 15:02:15 -05:00
Merry d225bdd14b configure_graphics: Avoid crash when vsync_mode_combobox is empty (occurs when renderer backend is Null) 2024-01-28 19:14:38 +00:00
Kelebek1 760d085dbe Use the input process handle to get the correct application's memory 2024-01-28 18:51:43 +00:00
liamwhite 9f2f98d9e9 Merge pull request #12826 from t895/system-driver-version
android: Show system driver information
2024-01-28 11:57:58 -05:00
liamwhite a504a363cd Merge pull request #12825 from liamwhite/why
kernel: clear pinned waiter list on unpin
2024-01-28 11:57:53 -05:00
liamwhite dd7b09f1e4 Merge pull request #12823 from german77/set-audio
service: set: Implement more Qlaunch Settings
2024-01-28 11:57:47 -05:00
liamwhite 5124ff3db3 Merge pull request #12802 from german77/mii_interface
service: mii: Migrate service to new interface
2024-01-28 11:57:40 -05:00
german77 c9cc968d25 service: set: Increase settings version 2024-01-28 09:32:54 -06:00
german77 4796058940 service: set: Implement more Qlaunch Settings 2024-01-28 09:32:46 -06:00
t895 c84fac9ab4 android: Disable focus on loading card
Additionally de-emphasize the ripple that I can't disable
2024-01-28 00:25:07 -05:00
t895 6b23690b75 android: Show system driver information 2024-01-27 23:59:02 -05:00
Liam 5942df75fb kernel: clear pinned waiter list on unpin 2024-01-27 22:53:49 -05:00
t895 d9f725ba4a android: Multi-program app switching 2024-01-27 20:05:51 -05:00
Merry a3871f6172 atomic_ops: Fix MSVC 2024-01-27 21:42:16 +00:00
Merry bd45dad4f2 atomic_ops: Remove volatile qualifier 2024-01-27 21:36:39 +00:00
Merry 93e483d9e4 atomic_ops: Reduce code duplication with templates
Also fixes builds on unusual toolchains where:
- u32 is unsigned int
- u64 is unsigned long long
- uintptr_t is unsigned long
2024-01-27 21:12:12 +00:00
K900 2e958b507f input: add a missing null pointer check
There's a few other places where the result of GetAruidData is accessed without a null check,
but I couldn't find a code path that hits those.
2024-01-27 17:32:49 +03:00
t895 d275537111 android: Reload global settings on closing emulation
UI like the driver manager expects the global settings to be loaded when in the MainActivity so we reload global config to properly reset state on exit.
2024-01-26 23:05:02 -05:00
Kelebek1 05afa94a3b Move time services to new IPC.
Add some fixes/improvements to usage with the new IPC
2024-01-27 03:30:09 +00:00
Narr the Reg 5f392cd555 service: mii: Migrate service to new interface 2024-01-26 10:43:34 -06:00
liamwhite 29b2c706de Merge pull request #12808 from t895/uri-moment
vfs: Fix getting URI filename
2024-01-26 10:23:08 -05:00
liamwhite 3262760a67 Merge pull request #12769 from german77/no-log
core: hid: Reduce controller requests
2024-01-26 09:57:40 -05:00
t895 6225561685 vfs: Fix getting URI filename 2024-01-26 09:57:22 -05:00
liamwhite 2f7096bf31 Merge pull request #12809 from t895/error-message
android: Add cancel condition to installed content check
2024-01-26 09:56:01 -05:00
liamwhite 9dd9c2a6cc Merge pull request #12765 from german77/sys-hid
service: set: Implement more settings functions for Qlaunch
2024-01-26 09:55:47 -05:00
liamwhite 0584e5bcbb Merge pull request #12801 from german77/vibration-fix
service: hid: Don't try to vibrate if device isn't initialized
2024-01-26 09:55:37 -05:00
liamwhite 1b04167b27 Merge pull request #12707 from FearlessTobi/fs-housekeeping
fs: Various cleanups & add path class for later use
2024-01-26 09:55:25 -05:00
t895 55462a3e65 android: Add cancel condition to installed content check 2024-01-26 09:29:51 -05:00
Narr the Reg cc539cac24 service: hid: Don't try to vibrate if device isn't initialized 2024-01-25 23:46:46 -06:00
liamwhite d2c4928664 Merge pull request #12796 from t895/controller-optimizations
android: Controller focus optimizations
2024-01-25 23:01:44 -05:00
Liam d776438cad cmif_serialization: support non-domain sessions on domain servers 2024-01-25 22:18:42 -05:00
Liam c436de82a7 cmif_types: improve ergonomics of types 2024-01-25 22:18:37 -05:00
t895 ee0b3c01de android: Disable default focus highlight on views that shouldn't be selected 2024-01-25 20:49:57 -05:00
t895 d04853839d android: Allow controller to focus on toolbar menu items
Workaround for this
https://issuetracker.google.com/issues/256948272
2024-01-25 20:48:58 -05:00
t895 c7a39b02d2 android: Add 600dp layout for GameInfoFragment 2024-01-25 20:46:03 -05:00
t895 546bb43a3c android: Fix button click listener for build version name
Was set to the text instead of the parent view by mistake
2024-01-25 20:43:12 -05:00
t895 ee22a87867 android: Disable focus for the root of cards that contain buttons 2024-01-25 20:42:23 -05:00
t895 fdddac1a57 android: Focus on the in game menu when opened 2024-01-25 20:39:52 -05:00
Narr the Reg df295231b8 service: set: Implement more settings functions for Qlaunch 2024-01-25 17:14:18 -06:00
FearlessTobi 2b4d7506a8 Address review comments and fix compilation problems 2024-01-25 16:43:53 -05:00
FearlessTobi 99d76bf25a fs: Add path class 2024-01-25 16:42:06 -05:00
FearlessTobi 3b98aaef24 result: Make fully constexpr, add ON_RESULT_INCLUDED 2024-01-25 16:42:06 -05:00
FearlessTobi 3f6c5a0a08 fs/errors: Unify naming of result codes 2024-01-25 16:42:06 -05:00
FearlessTobi 4b7bb232f2 fs: Replace Mode enum by OpenMode enum 2024-01-25 16:42:05 -05:00
FearlessTobi 24f979a4b8 vfs: Move vfs files to their own directory 2024-01-25 16:40:42 -05:00
FearlessTobi 3587a4dcee fs: Move fsp_srv subclasses to separate files
fs: Move additional files to the fsp directory
2024-01-25 16:40:42 -05:00
liamwhite ff084ece75 Merge pull request #12759 from liamwhite/mp-misc
core: miscellaneous fixes
2024-01-25 16:21:38 -05:00
liamwhite 4bed2b5f36 Merge pull request #12777 from t895/firmware-warning
android: Add key warning
2024-01-25 16:21:29 -05:00
liamwhite 077ced4ab3 Merge pull request #12783 from liamwhite/cmif-generation
service: add template serializer for method calls
2024-01-25 15:40:09 -05:00
Liam f5bfeef951 service: add template serializer for method calls 2024-01-25 14:35:51 -05:00
liamwhite 3f8c6405ac Merge pull request #12787 from t895/game-list-refresh
android: Only compare game contents for GameAdapter
2024-01-25 14:19:32 -05:00
liamwhite 8d4ea275dd Merge pull request #12786 from t895/driver-overlay
android: Show driver vendor in FPS overlay
2024-01-25 14:19:25 -05:00
liamwhite 0ab550c726 Merge pull request #12499 from Kelebek1/time
Rework time services
2024-01-25 14:19:01 -05:00
t895 b24bd81938 android: Fix waiting for driver install on startup 2024-01-25 13:04:04 -05:00
t895 1533fbce51 android: Add current driver vendor to FPS overlay 2024-01-25 13:04:03 -05:00
t895 48660d8c8a android: Add key check 2024-01-25 12:58:19 -05:00
t895 227018508e android: Add option to make MessageDialogFragments non-dismissible
Additionally fixes an issue where its viewmodel could hold onto a stale positive action
2024-01-25 12:53:49 -05:00
t895 564908ba83 frontend_common: Consistently use references
Was swapping between references and pointers for no reason. Just unify them here since each of these utility functions will need their parameters to be alive.
2024-01-25 12:53:49 -05:00
t895 55f1d7beeb frontend_common: Remove key rederivation and keep key check 2024-01-25 12:53:48 -05:00
t895 855ef8dc60 android: Only compare game contents for GameAdapter 2024-01-25 08:04:59 -05:00
Matías Locatti fa47a39052 Demote Mesa dozen to the bottom of the device list 2024-01-24 23:36:14 -03:00
Kelebek1 52c35521bd Rework time service to fix time passing offline. 2024-01-24 04:26:55 +00:00
liamwhite 6881c01c72 Merge pull request #12763 from liamwhite/fix-hbl-again
loader: also register fs process for raw exefs partition
2024-01-23 13:31:41 -05:00
liamwhite a07861e2e3 Merge pull request #12768 from german77/wrong_conversion
service: properly convert buffers to strings
2024-01-23 13:31:27 -05:00
Narr the Reg 9d8c4a7802 core: hid: Skip duplicated vibrations 2024-01-23 11:33:08 -06:00
Narr the Reg cd792c68c2 core: hid: Only set polling mode if needed 2024-01-23 11:11:09 -06:00
Narr the Reg aad9258100 service: properly convert buffers to strings 2024-01-23 10:24:05 -06:00
Liam 9528c40b1e loader: also register fs process for raw exefs partition 2024-01-23 00:01:38 -05:00
Liam cc7a7b5253 nvservices: close map handles on session close 2024-01-22 21:18:52 -05:00
Liam 507ab2d9b5 kernel: target invalidate to given process 2024-01-22 21:18:52 -05:00
Liam 50854fb55b device_memory_manager: fix ScratchBuffer indexing 2024-01-22 14:07:33 -05:00
liamwhite 5a6b3a0125 Merge pull request #12579 from FernandoS27/smmu
Core: Implement Device Mapping & GPU SMMU
2024-01-22 10:55:39 -05:00
t895 a651bb87a7 android: Add to launcher button 2024-01-22 08:19:20 -05:00
Charles Lombardo 8d097fa354 Merge pull request #12739 from t895/debug-keystore
android: Provide debug.keystore for debug and relWithDebInfo builds
2024-01-22 04:34:17 -05:00
Charles Lombardo dc8480eb8b Merge pull request #12738 from t895/lock-drawer
android: Port "Lock drawer" feature from Citra
2024-01-22 04:34:08 -05:00
Charles Lombardo 9c61b1edfa Merge pull request #12736 from t895/verify-contents
android: Add verify contents buttons
2024-01-22 04:33:56 -05:00
Mike Lothian 0a3c09f2f6 Simplify VkResult lookup 2024-01-22 03:10:43 +00:00
t895 3116ee2cb7 android: Provide debug.keystore for debug and relWithDebInfo builds
Allows devs to share debug builds with testers without uninstalling the previous build
2024-01-21 22:08:07 -05:00
t895 49142d4e23 android: Port "Lock drawer" feature from Citra 2024-01-21 20:47:28 -05:00
Mike Lothian 2348a5bdab Add Vulkan-Utility-Libraries dependency 2024-01-22 01:30:44 +00:00
t895 7c70a8a362 frontend_common: Remove default value for installer callbacks
We never used these without callbacks and these will break without them in their current state. I could write the default value to return false always but that's unnecessary for now.
2024-01-21 19:31:26 -05:00
liamwhite 913a56114f Merge pull request #12734 from german77/enable-applet
service: hid: Implement EnableAppletForInput
2024-01-21 19:15:53 -05:00
liamwhite c8d8a53bf2 Merge pull request #12735 from german77/disable-vibration
core: hid: Allow to disable vibration
2024-01-21 19:15:46 -05:00
t895 8f07d9bf1c android: Add options to verify installed content 2024-01-21 19:15:11 -05:00
Narr the Reg 0748704ca6 core: hid: Allow to disable vibration 2024-01-21 16:44:31 -06:00
t895 3bee9db92f frontend_common: Move integrity verification to content_manager 2024-01-21 16:36:37 -05:00
Narr the Reg 4af74a15a8 service: hid: Implement EnableAppletForInput 2024-01-21 14:05:18 -06:00
Charles Lombardo c573e4a2f4 Merge pull request #12733 from german77/settings_services
service: set: Don't allow invalid mii author id
2024-01-21 14:08:58 -05:00
german77 93e5f46b63 service: set: Don't allow invalid mii author id 2024-01-21 12:18:18 -06:00
t895 9dd8845ace android: Sync translations 2024-01-20 23:26:47 -05:00
t895 f5ff015ec9 android: Change "Clear" to "Use global setting" for per-game settings 2024-01-20 13:37:47 -05:00
liamwhite 1d3be8d0a2 Merge pull request #12688 from liamwhite/wl-present-fix
renderer_vulkan: recreate swapchain when frame size changes
2024-01-20 13:36:18 -05:00