bunnei
93bad47edb
core: crypto: key_manager: Add methods to reload & validate keys.
2023-06-03 00:05:29 -07:00
Liam
7cdeaa90af
device_memory: Use smaller virtual reservation size for compatibility with 39-bit paging
2023-06-03 00:05:28 -07:00
Kelebek1
6839341f17
Fix incorrect id check and potential out of bounds lookup
2023-05-31 19:10:00 +01:00
Liam
0596a4afb1
vfs_concat: fix time complexity of read
2023-05-26 16:07:38 -04:00
bunnei
ffa1fba7d6
Merge pull request #10396 from german77/amiibo_write
...
input_common: Implement amiibo writing
2023-05-25 14:07:16 -07:00
bunnei
e264ab4ad0
Merge pull request #10415 from german77/amiibo-no-key
...
service: nfc: Remove encryption key requirement
2023-05-24 22:14:55 -07:00
Liam
5e3b3c6643
k_memory_block_manager: remove auditing calls
2023-05-23 09:15:16 -04:00
Narr the Reg
f63586c5f5
service: nfc: Remove encryption key requirement
2023-05-22 18:42:09 -06:00
Narr the Reg
fdb2002f77
input_common: Implement amiibo writting
2023-05-21 21:09:20 -06:00
german77
6e54615b16
service: hid: Use span instead of vector reference
2023-05-14 18:07:04 -06:00
Fernando S
9c739f1506
Merge pull request #10244 from liamwhite/lower-upper
...
time: implement ContinuousAdjustmentTimePoint
2023-05-13 03:51:05 +02:00
bunnei
021e503cc8
Merge pull request #10237 from liamwhite/cache-storage
...
fs: stub cache storage
2023-05-12 16:42:17 -07:00
Liam
a22c5a3880
time: implement ContinuousAdjustmentTimePoint
2023-05-11 21:05:27 -04:00
Liam
351079a4ba
fs: adjust future save path
2023-05-11 17:30:30 -04:00
Liam
62bcb99ba8
am: stub CreateCacheStorage
2023-05-11 17:26:02 -04:00
Liam
13e4ceb990
fs: stub cache storage and fix params alignment
2023-05-11 17:23:28 -04:00
Liam
bb94beed15
nvnflinger: fix Parcel serialization
2023-05-11 17:09:19 -04:00
Liam
6e10a0c130
nvnflinger: fix producer slot fence init
2023-05-11 17:08:14 -04:00
Narr the Reg
42e1db4b0e
service: nfc: Seed all random values
2023-05-09 17:54:07 -06:00
german77
1968cc7b10
service: nfp: Allow to load with a different amiibo id
2023-05-09 17:51:59 -06:00
liamwhite
7944f271dc
Merge pull request #10183 from liamwhite/mods
...
vfs_vector: avoid n^2 lookup in layeredfs building
2023-05-09 09:47:36 -04:00
Narr the Reg
97bd6d6418
core: hid: Allow to calibrate gyro sensor
2023-05-08 12:06:38 -06:00
bunnei
b70a205a96
Merge pull request #10075 from Kelebek1/silence_nifm_spam
...
Silence network spam
2023-05-07 17:45:32 -07:00
liamwhite
8f605b542c
Merge pull request #10195 from german77/mutex
...
core: hid: Update motion on a better place
2023-05-07 19:06:10 -04:00
Liam
d100de27ee
vfs_layered: avoid n^2 lookup in layeredfs building
2023-05-07 19:03:41 -04:00
german77
cf023aa8ec
core: hid: Update motion on a better place
2023-05-07 17:01:57 -06:00
Fernando Sahmkow
6f90dff293
Address feedback, add CR notice, etc
2023-05-07 23:46:12 +02:00
Fernando Sahmkow
92da86290c
Settings: add option to enable / disable reactive flushing
2023-05-07 23:46:12 +02:00
Fernando Sahmkow
c6cac2ffaa
GPU: Add Reactive flushing
2023-05-07 23:46:12 +02:00
Liam
5792a72c29
vfs_vector: avoid n^2 lookup in layeredfs building
2023-05-07 16:50:35 -04:00
bunnei
e58090c9c7
Merge pull request #10097 from german77/nfp_full
...
service: nfc: Merge device interfaces and create the device manager
2023-05-07 12:18:09 -07:00
bunnei
3547248ec2
Merge pull request #10125 from lat9nq/vsync-select
...
configuration: Expose separate swap present modes
2023-05-06 21:55:39 -07:00
bunnei
82188b2f79
Merge pull request #10174 from german77/motriod
...
input_common: Add experimental motion to button
2023-05-06 21:40:20 -07:00
liamwhite
9c9b4616c3
Merge pull request #10167 from german77/motion_preview
...
yuzu: Add motion preview to controller input
2023-05-06 23:09:55 -04:00
german77
9b771bcb8f
input_common: Add experimental motion to button
2023-05-05 22:49:56 -06:00
Narr the Reg
94151097b9
service: nfc: Merge device interfaces and create the device manager
2023-05-05 22:02:59 -06:00
Narr the Reg
f017335fef
input_common: Add property to invert an axis button
2023-05-05 17:18:35 -06:00
Narr the Reg
46e835f2d6
yuzu: Add motion preview to controller input
2023-05-05 13:53:38 -06:00
german77
8df3aed2f1
core: hid: Fix state of capture and home buttons
2023-05-04 22:36:59 -06:00
bunnei
a661c547d8
Merge pull request #10088 from FernandoS27/100-gelato-flavor-test-builds-later
...
Y.F.C Implement Asynchronous Fence manager and Rework Query async downloads
2023-05-03 15:10:22 -07:00
bunnei
737e1ca101
Merge pull request #10117 from liamwhite/sync-register
...
kernel: match calls to Register and Unregister
2023-05-03 09:07:19 -07:00
Morph
627022bef9
Merge pull request #10124 from liamwhite/pebkac
...
settings: rename extended memory layout to unsafe, move from general to system
2023-05-03 10:52:45 -04:00
lat9nq
2528cf7c54
settings: Enable FIFO relaxed
...
Not entirely sure if we need this, but there's also no reason not to
support it.
settings: Give VSyncMode values
2023-05-02 21:51:30 -04:00
lat9nq
40f062f749
telemetry_session: Make translate function static
...
Addresses review feedback
Co-authored-by: Lioncash <mathew1800@gmail.com>
2023-05-02 21:51:29 -04:00
lat9nq
6f0929df82
configuration: Expose separate swap present modes
...
Previously, yuzu would try and guess which vsync mode to use given
different scenarios, but apparently we didn't always get it right. This
exposes the separate modes in a drop-down the user can select.
If a mode isn't available in Vulkan, it defaults to FIFO.
2023-05-02 21:51:29 -04:00
Liam
2cd9e1ecb6
settings: rename extended memory layout to unsafe, move from general to system
2023-04-30 14:24:22 -04:00
Liam
b143ce8134
kernel: remove general boost lists
2023-04-29 22:11:32 -04:00
Liam
1b5c87ab6a
kernel: match calls to Register and Unregister
2023-04-29 21:52:26 -04:00
german77
5e16fe4579
core: service: Add FunctionInfoTyped to allow expanding existing interfaces
2023-04-25 23:36:24 -06:00
Fernando S
47cd0586ee
Merge pull request #10056 from vonchenplus/audout_u
...
core: audio: return result when audio_out initialize failed
2023-04-24 12:36:52 +02:00
Narr the Reg
00d76fc5f5
service: nfc: Create mifare interface
2023-04-23 23:28:09 -06:00
Narr the Reg
a3fa64fcc4
service: nfc: Create interface
2023-04-23 23:28:09 -06:00
Fernando Sahmkow
7e76c1642c
Accuracy Normal: reduce accuracy further for perf improvements in Project Lime
2023-04-23 22:03:44 +02:00
Kelebek1
4da4ecb1ff
Silence nifm spam
2023-04-22 14:29:58 +01:00
bunnei
0f1ff5f34e
Merge pull request #10076 from german77/TryPopMyFriend
...
core: am: Demote TryPopFromFriendInvitationStorageChannel Log level
2023-04-21 23:15:07 -07:00
bunnei
74d203fbe3
Merge pull request #10060 from german77/no_dead
...
core: hid: Remove deadzone of virtual controller
2023-04-21 23:13:21 -07:00
german77
7ffc42c397
core: am: Demote TryPopFromFriendInvitationStorageChannel Log level
2023-04-21 22:35:45 -06:00
FengChen
55a33342cc
core: audio: return result when audio_out initialize failed
2023-04-16 12:31:54 +08:00
german77
70a97fb5c7
core: hid: Remove deadzone of virtual controller
2023-04-15 18:41:09 -06:00
Narr the Reg
307371e01d
service: nfp: Implement debug Interface
2023-04-14 17:03:58 -06:00
Narr the Reg
00800d5289
service: nfp: Implement system interface
2023-04-14 17:03:57 -06:00
Narr the Reg
101c0df79c
service: nfp: Use an unique interface
2023-04-13 22:24:27 -06:00
Liam
baf4d1c22e
kernel: move more memory to application in 8GB arrangement
2023-04-09 19:50:27 -04:00
Liam
abb785f269
kernel: switch extended memory setting to 8GB arrangement
2023-04-08 17:47:26 -04:00
bunnei
25c4ae6e11
Merge pull request #10022 from liamwhite/gcc-13
...
general: fixes for gcc 13
2023-04-08 00:09:06 -07:00
Liam
a9623d5f55
general: fixes for gcc 13
2023-04-02 19:02:04 -04:00
german77
d2ae39bf4b
service: hid: Fix handle validation
2023-04-02 02:21:54 -06:00
bunnei
756f013d8a
Merge pull request #10020 from merryhime/update-dynarmic
...
externals: Update dynarmic to 6.4.6
2023-04-01 21:57:45 -07:00
bunnei
9c94faaa2b
core: arm_dynarmic_32: Update SaveContext/LoadContext.
2023-04-01 17:03:08 -07:00
liamwhite
1ab052952d
Merge pull request #10006 from german77/profile_select
...
service: am: Improve profile select applet
2023-04-01 09:49:22 -04:00
liamwhite
b2772bcb0d
Merge pull request #9997 from german77/cancel_controller
...
applet: controller: Implement cancel button
2023-04-01 09:49:08 -04:00
liamwhite
ff4fbaf152
Merge pull request #9999 from german77/new_hid_hurra
...
service: hid: Implement SetNpadJoyAssignmentModeSingleWithDestination
2023-04-01 09:48:53 -04:00
bunnei
0730dc6c44
Merge pull request #10005 from liamwhite/kernel-atomics
...
kernel: fix unbounded stack usage in atomics
2023-04-01 01:54:36 -07:00
german77
11edba4974
applet: controller: Implement cancel button
2023-03-30 07:49:44 -06:00
german77
8e84381038
service: hid: Implement SetNpadJoyAssignmentModeSingleWithDestination
...
Used by Let's Get Fit
2023-03-29 22:03:49 -06:00
Narr the Reg
668eb5b8da
service: am: Improve profile select applet
2023-03-29 08:53:19 -06:00
liamwhite
8bdc51b620
Merge pull request #9505 from liamwhite/request-exit
...
applets: implement RequestExit
2023-03-29 09:11:34 -04:00
Liam
9efd95cda5
kernel: fix unbounded stack usage in atomics
2023-03-28 22:28:27 -04:00
liamwhite
9c96d40586
Merge pull request #10003 from german77/disconnect
...
service: hid: Silence warning on MergeSingleJoyAsDualJoy
2023-03-28 09:09:47 -04:00
Morph
e1bce50d8b
core_timing: Make use of MicroSleep for x64 CPUs
...
For CPUs that support tpause, this should result in significant CPU power savings over thread yield in this spin wait.
2023-03-27 17:45:22 -04:00
Narr the Reg
c2c7386dfd
service: hid: Silence warning on MergeSingleJoyAsDualJoy
2023-03-27 13:25:15 -06:00
liamwhite
0661f5ccd1
Merge pull request #9984 from liamwhite/global-memory
...
memory: rename global memory references to application memory
2023-03-27 12:16:40 -04:00
german77
8802646730
service: nfp: Add plain amiibo support
2023-03-26 14:26:36 -06:00
Liam
50a59487eb
qt: implement RequestExit for applets
2023-03-25 14:49:43 -04:00
Liam
950db851ea
applets: implement RequestExit
2023-03-25 12:44:26 -04:00
liamwhite
462c430c8b
Merge pull request #9981 from german77/nfp_connect
...
nfc: Initialize device when controller is connected
2023-03-24 10:53:05 -04:00
Liam
41d99aa89d
memory: rename global memory references to application memory
2023-03-23 20:28:47 -04:00
liamwhite
c41a4baf06
Merge pull request #9964 from liamwhite/typed-address
...
kernel: use KTypedAddress for addresses
2023-03-23 10:00:19 -04:00
Liam
fb49ec19c1
kernel: use KTypedAddress for addresses
2023-03-22 09:35:16 -04:00
Narr the Reg
6ff4bf9b1c
nfc: Initialize device when controller is connected
2023-03-21 20:09:36 -06:00
Liam
43d909949e
kernel: fix LOG_TRACE in ipc
2023-03-19 10:02:20 -04:00
Narr the Reg
075a3d1172
service: nfp: Replace crc function with boost equivalent
2023-03-16 17:47:32 -06:00
Narr the Reg
7187732454
service: nfp: Close app area and recreate crc
2023-03-15 17:01:06 -06:00
Narr the Reg
5031f5b8b0
service: nfp: Convert mii colors to v3
2023-03-15 17:01:05 -06:00
Narr the Reg
026fe2e4f4
service: nfp: Actually write correct crc
2023-03-14 23:42:41 -06:00
Liam
c352381ce9
kernel: additional style fixes to KThread, KProcess
2023-03-12 22:10:27 -04:00
Liam
9775a73d1a
kernel: fix clang build
2023-03-12 22:10:27 -04:00
Liam
088c434d65
kernel: remove unnecessary finalize calls
2023-03-12 22:10:27 -04:00
Liam
9863db9db4
kernel: convert KProcess to new style
2023-03-12 22:09:27 -04:00
Liam
6bfb4c8f71
kernel: convert KThread to new style
2023-03-12 22:09:09 -04:00
Liam
ac6cbb7134
kernel: prefer std::addressof
2023-03-12 22:09:09 -04:00
Liam
641783df8f
kernel: convert KResourceLimit
2023-03-12 22:09:09 -04:00
Liam
c0b9e93b77
kernel: remove kernel_
2023-03-12 22:09:09 -04:00
Liam
9368e17a92
kernel: remove gratitutous attribute usage
2023-03-12 22:09:09 -04:00
Liam
91fd4e30f2
kernel/svc: convert to new style
2023-03-12 22:09:08 -04:00
Liam
57f1d8ef8d
kernel: convert miscellaneous
2023-03-12 22:06:53 -04:00
Liam
d1b53c8d82
kernel: conver KScopedLock, KScopedResourceReservation, KSessionRequest, KSharedMemory, KSpinLock
2023-03-12 22:06:53 -04:00
Liam
7322c99e5f
kernel: convert KAbstractSchedulerLock
2023-03-12 22:06:53 -04:00
Liam
467adc1acd
kernel: convert KMemoryLayout, KMemoryRegion*, KPageTableSlabHeap, KPriorityQueue
2023-03-12 22:06:53 -04:00
Liam
0483dfae1a
kernel: move KMemoryLayout for NX board
2023-03-12 22:06:53 -04:00
Liam
8d1f5bfbd2
kernel: remove KLinkedList
2023-03-12 22:06:53 -04:00
Liam
fdf90c6d75
kernel: convert KConditionVariable, KLightConditionVariable, KLightLock
2023-03-12 22:06:53 -04:00
Liam
097c25b164
kernel: convert KPort, KSession
2023-03-12 22:06:53 -04:00
Liam
d24ab14126
kernel: convert GlobalSchedulerContext, KAddressArbiter, KScopedSchedulerLockAndSleep, KThreadQueue to new style
2023-03-12 22:06:53 -04:00
Liam
600f325d87
general: fix spelling mistakes
2023-03-12 11:33:01 -04:00
liamwhite
92c89312fc
Merge pull request #9923 from liamwhite/kht
...
kernel: add timer pointer to KThreadQueue
2023-03-10 16:19:41 -05:00
liamwhite
e0bd27b674
Merge pull request #9928 from german77/super_nfp
...
service: nfp: Improve implementation
2023-03-10 13:55:28 -05:00
liamwhite
021af4fd00
Merge pull request #9917 from Morph1984/the-real-time
...
native_clock: Re-adjust the RDTSC frequency to its real frequency
2023-03-10 13:55:11 -05:00
Narr the Reg
8d5cde6eff
service: nfp: Improve implementation
2023-03-09 19:29:28 -06:00
liamwhite
ec4e2d1fab
Merge pull request #9916 from liamwhite/fpu
...
kernel: clone fpu status on CreateThread
2023-03-09 09:19:15 -05:00
liamwhite
f3f57f90fe
Merge pull request #9912 from liamwhite/err
...
hle: rename legacy errors to Results
2023-03-08 09:16:27 -05:00
liamwhite
b5d61f214d
Merge pull request #9904 from liamwhite/ws
...
kernel: fix WaitSynchronization
2023-03-08 09:16:17 -05:00
Morph
67560296c6
perf_stats: Check multicore first
...
SpeedLimiting is SC only. Since MC is performance oriented we should check for it first to skip checking use_speed_limit.
2023-03-07 23:11:01 -05:00
Morph
d72d753b1a
Merge pull request #9921 from liamwhite/override
...
general: fix type inconsistencies
2023-03-07 22:42:40 -05:00
Morph
1073346c7f
hid: Use nanosecond timestamps instead of ticks
2023-03-07 21:17:47 -05:00
Morph
3053a62375
core: Promote CPU/GPU threads to time critical
...
And also demote Audren and CoreTiming to High thread priority.
2023-03-07 21:17:46 -05:00
Liam
1776448df2
kernel: add timer pointer to KThreadQueue
2023-03-07 20:51:29 -05:00
Liam
ba4213d956
general: fix type inconsistencies
2023-03-07 20:05:19 -05:00
Liam
d45ac00d48
kernel: avoid signed overflow UB on MSVC
2023-03-07 19:46:48 -05:00
Liam
484641003c
kernel: clone fpu status on CreateThread
2023-03-07 19:18:06 -05:00
liamwhite
a7792e5ff8
Merge pull request #9889 from Morph1984/time-is-ticking
...
core_timing: Reduce CPU usage on Windows
2023-03-07 10:54:13 -05:00
Liam
1d0fe75e7c
hle: rename legacy errors to Results
2023-03-06 20:58:42 -05:00
liamwhite
b210174087
Merge pull request #9910 from jbeich/libc++
...
kernel: add missing header for libc++
2023-03-06 11:21:51 -05:00
liamwhite
e6349fcd3b
Merge pull request #9905 from german77/usbssl
...
Service: USB, SSL, PSC: Update
2023-03-06 11:21:37 -05:00
Jan Beich
859fb469b8
kernel: add missing header for libc++
...
In file included from src/core/hle/kernel/k_light_lock.cpp:4:
In file included from src/./core/hle/kernel/k_light_lock.h:8:
src/./core/hle/kernel/k_scoped_lock.h:25:51: error: no member named 'addressof' in namespace 'std'
explicit KScopedLock(T& l) : KScopedLock(std::addressof(l)) {}
~~~~~^
2023-03-06 11:49:25 +00:00
Narr the Reg
8a501ff30b
service: acc: Replace default image with a 32x32 image
2023-03-05 16:36:19 -06:00
Narr the Reg
1f57ae6949
service: psc: Update names
2023-03-05 12:02:10 -06:00
Narr the Reg
f01540da6c
service: ssl: Add missing properties and update names
2023-03-05 12:02:04 -06:00
Narr the Reg
54711df739
service: usb: Update names
2023-03-05 10:45:24 -06:00
Liam
644ee0043e
kernel: fix WaitSynchronization
2023-03-05 10:29:10 -05:00
Morph
194cf0b497
hardware_properties: Update BASE_CLOCK_RATE to exactly 1020 MHz
2023-03-05 02:36:31 -05:00
Morph
bff1453282
core_timing: Use higher precision sleeps on Windows
...
The precision of sleep_for and wait_for is limited to 1-1.5ms on Windows.
Using SleepForOneTick() allows us to sleep for exactly one interval of the current timer resolution.
This allows us to take advantage of systems that have a timer resolution of 0.5ms to reduce CPU overhead in the event loop.
2023-03-05 02:36:31 -05:00
Morph
ce8f4da638
Merge pull request #9884 from liamwhite/service-cleanup
...
service: miscellaneous cleanups
2023-03-03 22:51:17 -05:00
Liam
97f7f7bad5
kernel: be more careful about kernel address keys
2023-03-01 10:42:45 -05:00
Liam
c4ba088a5d
kernel: refactor priority inheritance to represent locks as C++ objects
2023-03-01 10:42:45 -05:00
Liam
96bd7ea42d
kernel: simplify AddressSpaceInfo, update values
2023-03-01 10:42:45 -05:00
Liam
367e89f984
kernel: barrier memory before condition variable write
2023-03-01 10:42:45 -05:00
Liam
9f9b64cda2
kernel: document previous location of interrupt disables in arbiter/condvar
2023-03-01 10:42:45 -05:00
Liam
4165ac0680
kernel: adjust pool allocations
2023-03-01 10:42:45 -05:00
Liam
62711fec02
kernel: simplify KAbstractSchedulerLock::Lock
2023-03-01 10:42:45 -05:00
Liam
0746a2084e
kernel: add InfoType::IoRegionHint
2023-03-01 10:42:45 -05:00
Liam
809148e1a5
nvnflinger: fix name
2023-03-01 10:39:49 -05:00
Liam
65be230fdd
service: move hle_ipc from kernel
2023-03-01 10:39:49 -05:00
Liam
4a1aa98598
sm:: remove unused member
2023-03-01 10:39:36 -05:00
liamwhite
97f7a560f3
Merge pull request #9832 from liamwhite/hle-mp
...
service: HLE multiprocess
2023-03-01 10:38:20 -05:00
Alexandre Bouvier
57fd8b1f45
cmake: use correct boost imported targets
2023-02-28 17:56:01 +01:00
liamwhite
22432668be
Merge pull request #9859 from liamwhite/tmem-use
...
service: avoid direct pointer access of transfer memory objects
2023-02-27 19:46:10 -05:00
liamwhite
50575c317e
Merge pull request #9874 from german77/violet
...
service: btm: Fix handle functions
2023-02-27 19:46:01 -05:00
Matías Locatti
5f2cbf53d7
Merge pull request #9872 from goldenx86/partialLTO
...
Partial LTO
2023-02-27 19:38:36 -03:00
Matías Locatti
c38bb96a2c
Partially apply LTO to only core and video_core projects.
2023-02-27 18:44:14 -03:00
Narr the Reg
71ca956d5c
service: btm: Fix handle functions
2023-02-27 12:40:47 -06:00
Narr the Reg
ff11fdb07e
Revert "yuzu: config: Remove player 8 and 9 from config file"
2023-02-26 14:39:13 -06:00
Narr the Reg
60688bf0d5
yuzu: config: Remove player 8 and 9 from config file
2023-02-25 22:20:32 -06:00
liamwhite
833afb7ce3
Merge pull request #9848 from german77/metroid_motion
...
input_common: Implement dedicated motion from mouse
2023-02-25 12:44:13 -05:00
liamwhite
290ec3eb2f
Merge pull request #9857 from german77/fwupdate
...
core: Update service function tables to 16.0.0+
2023-02-25 12:44:06 -05:00
Narr the Reg
5e4ea04a64
core: hidbus: Fix BusType size
2023-02-24 21:22:27 -06:00
Narr the Reg
39ca7b2928
core: Update service function tables to 16.0.0+
2023-02-24 18:17:36 -06:00
Liam
975186ad4d
am: avoid direct pointer access of transfer memory objects
2023-02-24 12:50:54 -05:00
Liam
de4e5db330
hid: avoid direct pointer access of transfer memory objects
2023-02-24 12:48:07 -05:00
Narr the Reg
739a81055f
core: hid: Restore motion state on refresh and clamp motion values
2023-02-21 21:55:23 -06:00
Narr the Reg
9477181d09
core: hid: Fix native mouse mappings
2023-02-21 19:48:38 -06:00
liamwhite
11f6bb1532
Merge pull request #9846 from merryhime/type-const
...
svc: Fix type consistency (exposed on macOS)
2023-02-21 18:58:04 -05:00
Merry
c9678bda24
svc: Fix type consistency (exposed on macOS)
2023-02-21 21:39:17 +00:00
MonsterDruide1
d746cfc018
net: translate ECONNRESET network error
2023-02-21 20:47:59 +01:00
Liam
72e5552409
sm:: fix lingering session initialization issues
2023-02-21 12:19:25 -05:00
Liam
87749d217e
cheat_engine: add check for hid initialization
2023-02-21 12:19:25 -05:00
Liam
6e0a33089b
sm:: support service registration deferral
2023-02-21 12:19:25 -05:00
Liam
a936972614
service: refactor server architecture
...
Converts services to have their own processes
2023-02-21 12:19:25 -05:00
Liam
23151ff498
core: defer cpu shutdown
2023-02-21 12:19:25 -05:00
liamwhite
898c5d35a5
Merge pull request #9771 from ameerj/host-thread-id
...
kernel: Refactor thread_local variable usage
2023-02-19 13:12:43 -05:00
liamwhite
e531d1fae9
Merge pull request #9815 from german77/qt-mouse
...
Qt: Fix mouse scalling
2023-02-18 16:25:48 -05:00
Liam
1773a1039f
kernel: add KObjectName
2023-02-17 09:16:05 -05:00
Narr the Reg
17207939e5
input_common: Split mouse input into individual devices
2023-02-16 14:22:13 -06:00
liamwhite
6d77de96da
Merge pull request #9796 from liamwhite/current
...
general: rename CurrentProcess to ApplicationProcess
2023-02-15 17:42:45 -05:00
liamwhite
04d2d2ef5f
Merge pull request #9782 from arades79/fix-consexpr-value-declaration-usage
...
Fix consexpr value declaration usage
2023-02-15 17:42:38 -05:00
arades79
98631b45b6
remove constexpr from virtual function
...
Signed-off-by: arades79 <scravers@protonmail.com>
2023-02-14 19:14:29 -05:00
Liam
79fbdfca17
service: remove deleted services
2023-02-14 12:38:21 -05:00
arades79
880b6e9795
use a string view to skip allocation
...
Signed-off-by: arades79 <scravers@protonmail.com>
2023-02-14 12:35:40 -05:00
arades79
683019878f
remove static from pointer sized or smaller types for aesthetics, change constexpr static to static constexpr for consistency
...
Signed-off-by: arades79 <scravers@protonmail.com>
2023-02-14 12:35:39 -05:00
arades79
26e44a3be4
apply clang-format
...
Signed-off-by: arades79 <scravers@protonmail.com>
2023-02-14 12:35:39 -05:00
arades79
45e13b03f3
add static lifetime to constexpr values to force compile time evaluation where possible
...
Signed-off-by: arades79 <scravers@protonmail.com>
2023-02-14 12:33:11 -05:00
Liam
ceda2d280e
general: rename CurrentProcess to ApplicationProcess
2023-02-13 19:03:12 -05:00
Liam
4363ca304a
kernel: use GetCurrentProcess
2023-02-13 11:05:14 -05:00
bunnei
8b74047b1b
Merge pull request #9757 from german77/gyro
...
core: hid: Use gyro thresholds modes set by the game
2023-02-12 00:19:22 -08:00
Colin Kinloch
868ab0d3b4
kernel/svc: Fix undefined info_id
2023-02-11 18:00:34 +00:00
liamwhite
709879cfc1
Merge pull request #9773 from bunnei/fix-process-resource
...
core: kernel: k_process: Use application system resource.
2023-02-11 10:28:50 -05:00
bunnei
abd826ba87
Merge pull request #9742 from liamwhite/svc-wrap-only
...
kernel/svc: switch to generated wrappers
2023-02-10 21:41:22 -08:00
bunnei
e79270507b
core: kernel: k_process: Use application system resource.
2023-02-10 21:03:39 -08:00
ameerj
5e746da981
kernel: Refactor thread_local variable usage
...
On MSVC at least, there seems to be a non-trivial overhead to calling GetHostThreadId().
This slightly reworks the host_thread_id variable to reduce some of the complexity around its usage, along with some small refactors around current_thread and dummy thread
2023-02-10 20:43:06 -05:00
Liam
36b70dec05
kernel: avoid usage of bit_cast
2023-02-10 09:13:58 -05:00
Narr the Reg
5e9fa5def5
core: hid: Use gyro thresholds modes set by the game
2023-02-09 19:07:50 -06:00
liamwhite
f6477b91f9
Merge pull request #9747 from german77/SetSupportedNpadIdTypes
...
service: hid: Return error if arguments of SetSupportedNpadIdType is invalid
2023-02-08 10:09:26 -05:00
Narr the Reg
c27006e99d
service: hid: Return error if arguments of SetSupportedNpadIdType is invalid
2023-02-07 21:11:39 -06:00
Liam
2415d37ea2
kernel/svc: switch to generated wrappers
2023-02-06 23:57:44 -05:00
Liam
82c2a3da9f
kernel: fix compilation with older gcc
2023-02-06 13:14:27 -05:00
Liam
92eb091ddb
kernel/svc: Split implementations into separate files
2023-02-04 22:37:43 -05:00
ameerj
979e4d9950
fsp_srv: Copy HLE Read Buffer for OutputAccessLogToSdCard
2023-02-03 00:12:16 -05:00
ameerj
2d2522693e
Revert "Merge pull request #9718 from yuzu-emu/revert-9508-hle-ipc-buffer-span"
...
This reverts commit 25fc5c0e11
, reversing
changes made to af20e25081
.
2023-02-03 00:08:45 -05:00
bunnei
25fc5c0e11
Merge pull request #9718 from yuzu-emu/revert-9508-hle-ipc-buffer-span
...
Revert "hle_ipc: Use std::span to avoid heap allocations/copies when calling ReadBuffer"
2023-02-02 19:04:50 -08:00
liamwhite
b01698775b
Revert "hle_ipc: Use std::span to avoid heap allocations/copies when calling ReadBuffer"
2023-02-02 15:53:28 -05:00
Liam
7d1c3a3f59
kernel: add KDeviceAddressSpace
2023-02-01 17:18:21 -05:00
bunnei
92c5ab33b7
Merge pull request #9696 from german77/please_forgive_me_for_this_sin
...
input_common: Implement turbo buttons
2023-02-01 12:08:34 -08:00
german77
75e81885b0
input_common: Implement turbo buttons
2023-02-01 12:42:05 -06:00
bunnei
de28cd0c2d
Merge pull request #9697 from liamwhite/kcap
...
kernel: add KCapabilities
2023-01-31 10:51:10 -08:00
bunnei
ed4a88bd93
Merge pull request #9508 from ameerj/hle-ipc-buffer-span
...
hle_ipc: Use std::span to avoid heap allocations/copies when calling ReadBuffer
2023-01-30 12:17:09 -08:00
Liam
67a8740af6
kernel: add KCapabilities
2023-01-29 22:08:28 -05:00
Levi Behunin
d5fc56db4b
Move to Clang Format 15
...
Depends on https://github.com/yuzu-emu/build-environments/pull/69
clang-15 primary run
2023-01-29 17:49:42 -07:00
bunnei
32b2a72e7b
Merge pull request #9666 from liamwhite/wait-for-me
...
kernel: fix incorrect locking order in suspension
2023-01-27 15:06:09 -08:00
Liam
e9e1e7aa3a
kernel: unbreak min/max template deduction on Apple Clang
2023-01-26 17:43:37 -05:00
bunnei
5669692b4e
Merge pull request #9670 from merryhime/revert-af5ecb0b15d4449f58434e70eed835cf71fc5527
...
Revert "MemoryManager: use fastmem directly."
2023-01-25 22:28:55 -08:00
bunnei
2158ccda3b
Merge pull request #9604 from liamwhite/pt
...
kernel: KPageTable: update
2023-01-25 22:27:48 -08:00
Narr the Reg
cc821bfae1
Revert 9617 and fix it on input_common
2023-01-25 13:52:50 -06:00
Merry
dc7ab4c5d6
Revert "MemoryManager: use fastmem directly."
...
This reverts commit af5ecb0b15
.
2023-01-25 10:12:04 +00:00
liamwhite
a68af583ea
Merge pull request #9492 from german77/joycon_release
...
Input_common: Implement custom joycon driver v2
2023-01-24 09:29:37 -05:00
Liam
693cad8e9b
kernel: split SetAddressKey into user and kernel variants
2023-01-23 20:31:03 -05:00
Liam
5086380a63
kernel: fix incorrect locking order in suspension
2023-01-23 17:14:41 -05:00
Liam
31e54c4573
kernel: KPageTable: update
2023-01-22 13:17:29 -05:00
liamwhite
02ac593257
Merge pull request #9617 from german77/off_by_one
...
core: hid: Fix stick minimum range
2023-01-22 13:14:10 -05:00
liamwhite
9705094a57
Merge pull request #9613 from Kelebek1/demangle
...
Add stacktrace symbol demangling
2023-01-22 13:13:58 -05:00
bunnei
f78068d7bf
Merge pull request #9611 from liamwhite/patch-1
...
debugger: add host fastmem pointer fetch command
2023-01-20 10:00:33 -08:00
Narr the Reg
d9ee7c3297
core: hid: Make use of SCOPE_EXIT and SCOPE_GUARD where applicable
2023-01-20 00:51:46 -06:00
Narr the Reg
4a307a7b3a
core: hid: Only set the polling mode to the correct side
2023-01-19 18:05:23 -06:00
german77
d05ea2f3eb
input_common: Fix issue where ring and irs are enabled at the same time
2023-01-19 18:05:22 -06:00
Narr the Reg
459fb2b213
input_common: Implement joycon ir camera
2023-01-19 18:05:22 -06:00
german77
5cb437703f
yuzu: Add ring controller test button
2023-01-19 18:05:22 -06:00
german77
527dad7097
input_common: Use DriverResult on all engines
2023-01-19 18:05:22 -06:00
german77
e1a3bda4d9
Address review comments
2023-01-19 18:05:22 -06:00
Narr the Reg
1c08d532e0
core: hid: Fix input regressions
2023-01-19 18:05:22 -06:00
german77
6d6b7bdbc3
input_common: Implement joycon nfc
2023-01-19 18:05:21 -06:00
Narr the Reg
36d5e0a411
service: hid: Set led pattern and fix color detection
2023-01-19 18:05:20 -06:00
Narr the Reg
ed5fa10e97
core: hid: Enable pulling color data from controllers
2023-01-19 18:05:20 -06:00
Narr the Reg
a4074001fe
core: hid: Migrate ring from emulated devices to emulated controller
2023-01-19 18:05:20 -06:00
bunnei
9ca3a4758a
Merge pull request #9623 from liamwhite/wp-oops
...
memory: fix watchpoint use when fastmem is enabled
2023-01-19 10:50:21 -08:00
bunnei
413df0811d
Merge pull request #9619 from liamwhite/timing-spaghetti
...
timing: wait for completion on unregister
2023-01-18 15:13:38 -08:00
Liam
f1a0ce0e70
memory: fix watchpoint use when fastmem is enabled
2023-01-15 10:24:31 -05:00
Liam
0953cdd271
timing: wait for completion on unregister
2023-01-14 15:48:01 -05:00
Kelebek1
42b16bb33a
Be careful of mangled out of bounds read
2023-01-14 19:53:55 +00:00
german77
50c86b3c2a
core: hid: Fix stick minimum range
2023-01-14 11:53:43 -06:00
Kelebek1
80a55c1663
Add stacktrace symbol demangling
2023-01-14 04:43:21 +00:00
Liam
e9c3d16f6f
debugger: add host fastmem pointer fetch command
2023-01-12 18:35:14 -05:00
Liam
2f2ef5b147
nvnflinger: correct swap interval handling
2023-01-11 22:05:08 -05:00
bunnei
a5693afa03
Revert "Revert "k_page_group: synchronize""
2023-01-07 15:32:10 -08:00
bunnei
66e4a48b75
Merge pull request #9563 from german77/crash_not_allowed
...
input_common: Create an update engine
2023-01-07 13:41:27 -08:00
liamwhite
3c05988df2
Merge pull request #9561 from liamwhite/update-dynarmic
...
externals: update dynarmic, xbyak
2023-01-06 10:00:18 -05:00
liamwhite
6d74490139
Merge pull request #9558 from MonsterDruide1/network-timeout-noerror
...
net: Silently translate ETIMEDOUT network error
2023-01-06 10:00:09 -05:00
Narr the Reg
8042ce7e19
input_common: Create an update engine
2023-01-05 19:24:29 -06:00
Liam
1ee0540f82
externals: update dynarmic, xbyak
2023-01-05 18:06:06 -05:00
Fernando Sahmkow
af5ecb0b15
MemoryManager: use fastmem directly.
2023-01-05 06:06:33 -05:00
MonsterDruide1
688a9fbfa6
net: Silently translate ETIMEDOUT network error
2023-01-05 11:54:36 +01:00
liamwhite
bbeb6e460c
Merge pull request #9518 from gidoly/revert-9504-pg2
...
Revert "k_page_group: synchronize"
2023-01-03 21:40:57 -05:00
MonsterDruide1
04cb05fce0
TAS: Immediately switch stick to TAS on input
...
Co-Authored-By: Narr the Reg <5944268+german77@users.noreply.github.com>
2023-01-03 20:08:25 +01:00
german77
80bcc18788
service: nifm: Initialize request state
2023-01-01 20:58:08 -06:00
german77
ebd811b535
service: nifm: Match documentation names
2023-01-01 20:58:01 -06:00
Merry
bee395d2f0
vfs: Replace cstr concat with char concat
2023-01-01 18:52:02 +00:00
bunnei
05c709bebe
core: hid: emulated_console: Avoid a crash if frontend does not configure touch_from_button_maps.
2022-12-30 00:14:53 -08:00
gidoly
10eaf31af3
Revert "k_page_group: synchronize"
2022-12-29 17:39:42 +09:00
ameerj
b0722591c9
hle_ipc: Use thread_local ReadBuffer
2022-12-28 18:46:54 -05:00
ameerj
a1490d77ac
hle_ipc: Rename ReadBufferSpan to ReadBuffer
2022-12-28 18:46:54 -05:00
ameerj
59c0f85407
hle_ipc: Rename ReadBuffer to ReadBufferCopy
...
Indicates explicitly that a copy is occurring
2022-12-28 18:46:54 -05:00
ameerj
7c1bf68bb4
bsd: Use std::span for read payloads
...
Allows the use of HLERequestContext::ReadBufferSpan
2022-12-28 18:46:54 -05:00
ameerj
f517f82416
nvdrv: Use std::span for inputs
...
Allows the use of HLERequestContext::ReadBufferSpan
2022-12-28 18:46:53 -05:00
ameerj
e7032d9e64
hidbus: Use ReadBufferSpan
2022-12-28 18:46:53 -05:00
bunnei
60419dd35e
Merge pull request #9504 from liamwhite/pg2
...
k_page_group: synchronize
2022-12-28 17:28:31 -05:00
ameerj
32d01a39b0
nvflinger: Split Parcel class into InputParcel and OutputParcel
...
The usages of the Parcel class were already unique to either Read or Write operations.
Avoids needing a vector of the input payload for the InputParcel use-case, instead it can remain as a span.
2022-12-25 17:19:10 -05:00
ameerj
7ffd624248
service: Use ReadBufferSpan where it is trivial to do so
2022-12-25 17:04:02 -05:00
MonsterDruide1
bc4126acd7
TAS: Increase accuracy of Stick inputs
2022-12-25 21:49:09 +01:00
Liam
28d9c30861
k_page_table: remove HACK_OpenPages/ClosePages
2022-12-25 13:43:49 -05:00
ameerj
fbc375f0de
fsp_srv: Use ReadBufferSpan
2022-12-25 13:21:15 -05:00
ameerj
9349f06963
hle_ipc: Add ReadBufferSpan function
...
Returns a std::span to the buffer address, rather than create a copy of the memory into a std::vector
2022-12-25 13:20:59 -05:00
Liam
3392fdac9b
k_page_group: synchronize
2022-12-25 12:55:21 -05:00
liamwhite
c6767704fb
Merge pull request #9496 from liamwhite/shm3
...
kernel: workaround static shared memory initialization
2022-12-25 12:51:16 -05:00
Liam
99eccf581e
kernel: workaround static shared memory initialization
2022-12-23 13:40:30 -05:00
Liam
80670a5b6c
time: add LockFreeAtomicType
2022-12-21 22:36:55 -05:00
liamwhite
1b11e0f0d3
Merge pull request #9463 from liamwhite/manager-events
...
EmuThread: refactor
2022-12-20 09:10:41 -05:00
Liam
c770f25ccb
kernel: remove TimeManager
2022-12-18 20:21:24 -05:00
Liam
67c0d714c5
kernel: add KHardwareTimer
2022-12-18 16:37:19 -05:00
german77
79f1f326c7
service: nfc: Silence ListDevices
2022-12-18 11:57:33 -06:00
bunnei
48108a8c9b
Merge pull request #9456 from german77/virtual_gamepad
...
input_common: Add virtual gamepad
2022-12-17 17:16:13 -08:00
Liam
d3123079e8
EmuThread: refactor
2022-12-17 16:26:24 -05:00
liamwhite
4faea2bbf4
Merge pull request #9452 from ameerj/hle-read-buffer-resreve
...
hle_ipc: Refactor ReadBuffer to set buffer size upon initialization
2022-12-17 10:21:30 -05:00
german77
243404bf34
input_common: Add virtual gamepad
2022-12-16 18:26:11 -06:00
liamwhite
bbb202ceed
Merge pull request #6354 from ogniK5377/device-name
...
Set: Allow setting device nickname
2022-12-16 14:05:00 -05:00
liamwhite
789da737af
Merge pull request #9450 from ameerj/hle-ipc-vector-reserve
...
hle_ipc: Reserve vectors before populating
2022-12-16 11:57:48 -05:00
ameerj
b1d633532f
hle_ipc: Refactor ReadBuffer to set buffer size upon initialization
...
Initializing the vector size during initialization is more efficient than a later call to resize()
2022-12-15 23:22:11 -05:00
ameerj
12c0f682e6
hle_ipc: Reserve vectors before populating
2022-12-15 22:30:42 -05:00
Narr the Reg
20cbf6f3db
kernel: svc: Fix duplicated InfoType enum
2022-12-15 14:18:30 -06:00
Narr the Reg
dca4f0687a
kernel: process: Implement GetFreeThreadCount
...
Used by Just Dance® 2023 Edition
2022-12-15 13:44:21 -06:00
liamwhite
3ff7a5de1a
Merge pull request #7410 from Nefsen402/wayland-fixes
...
Wayland fixes
2022-12-15 12:05:01 -05:00
bunnei
beba9c9b61
Revert "hle: service: audio: Use default service thread."
2022-12-14 14:57:33 -08:00
Chloe Marcec
c5f519e1e4
Set: Allow setting device nickname
2022-12-13 19:54:17 -05:00
Alexander Orzechowski
09e3029c11
gl_device: Use a more robust way to use strict context mode
...
Instead of checking a environment variable which may not actually
exist or is just wrong, ask QT if it's running on the wayland
platform.
2022-12-13 15:01:51 -05:00
bunnei
339a37f8cb
Merge pull request #9398 from liamwhite/fail
...
general: improve handling of system startup failure
2022-12-12 14:37:42 -08:00
Mai
d5684dbe7d
Merge pull request #9415 from liamwhite/dc
...
memory: correct semantics of data cache management operations
2022-12-11 21:09:31 +00:00
Liam
ed37192441
memory: correct semantics of data cache management operations
2022-12-11 12:46:34 -05:00
Liam
985ed1e160
memory: remove DEBUG_ASSERT pointer test
2022-12-10 13:02:38 -05:00
Salvage
c586ac9be2
Remove the lock entirely as per PR discussion
...
Correctly unlock mutex before its destruction
As per https://en.cppreference.com/w/cpp/thread/mutex/~mutex destroying a locked mutex is undefined behavior and MSVC++ decides to throw in this case
Swap out unique for scoped lock and readd comment
2022-12-09 16:39:59 +01:00
Liam
9704acb982
general: improve handling of system startup failure
2022-12-06 16:13:42 -05:00
merry
e1f5f4bdea
Merge pull request #9370 from liamwhite/break-unmapped
...
core: add option to break on unmapped access
2022-12-06 20:20:20 +00:00
liamwhite
4b7e73e0a6
Merge pull request #9392 from lioncash/reporter
...
reporter: Eliminate undefined behavior in SaveErrorReport
2022-12-06 11:27:00 -05:00
liamwhite
d8534ea140
Merge pull request #9390 from lioncash/keyboard
...
applets: Extract callback types into aliases
2022-12-06 11:26:53 -05:00
liamwhite
bbdb6d391e
Merge pull request #9389 from lioncash/emumove
...
emulated_console/emulated_controller: std::move ParamPackage instances where applicable
2022-12-06 11:26:46 -05:00
liamwhite
a86af1b776
Merge pull request #9386 from lioncash/init
...
kernel: Ensure relevant class members are always initialized on construction
2022-12-06 11:26:38 -05:00
liamwhite
04779b3d2a
Merge pull request #9369 from german77/mifare
...
service: nfc: Implement mifare service
2022-12-05 22:17:32 -05:00
Lioncash
eadc1ae1e7
reporter: Pass by const reference where applicable
...
Same behavior, but without memory churn.
2022-12-05 21:48:42 -05:00
Lioncash
e7f9f58fa4
reporter: Eliminate undefined behavior in SaveErrorReport
...
The optionals are unconditionally dereferenced when setting the custom
error text, and in a few cases this function is called using the default
value of the optionals.
This means we'd be dereferencing uninitialized storage.
Since they're used unconditionally, we can use value_or to set a default
when storage is uninitialized.
2022-12-05 21:31:34 -05:00
Lioncash
fedd857054
applets/controller: Use aliases for callbacks
2022-12-05 19:06:04 -05:00
Lioncash
d8da9a2afd
applets/error: Use aliases for callbacks
2022-12-05 19:06:04 -05:00
Lioncash
2b40cdf04f
applets/mii_edit: Use aliases for callbacks
2022-12-05 19:06:04 -05:00
Lioncash
a84676c2aa
applets/profile_select: Use aliases for callbacks
...
Deduplicates callback definitions and situates it in one place.
2022-12-05 19:06:04 -05:00
Lioncash
e26c86a6e7
applets/web_browser: Use aliases for callbacks
...
Deduplicates a lot of long callback declarations
2022-12-05 19:06:04 -05:00
Lioncash
9bbb77637e
applets/software_keyboard: Use aliases for callbacks
...
Deduplicates really long std::function declarations to make the
interface nicer to read.
2022-12-05 19:06:01 -05:00
Lioncash
e4a16f50ef
emulated_controller: Remove unused parameter in GetMappedDevices()
...
This isn't used, so it can be removed to make the function a little
nicer.
2022-12-05 18:27:18 -05:00
Lioncash
87543b9dea
emulated_controller: Use std::move() in GetMappedDevices()
...
Avoids churning allocations in a loop.
2022-12-05 18:27:15 -05:00
Lioncash
7bf4b45349
emulated_console: Amend cast in SetTouch()
...
id is an int value, not a u32.
2022-12-05 18:15:23 -05:00
Lioncash
4255e30722
emulated_console: std::move() ParamPackages and callbacks where applicable
2022-12-05 18:15:19 -05:00
Lioncash
efa8711bf3
kernel/k_shared_memory: Ensure device_memory is always initialized
2022-12-05 15:27:57 -05:00
Lioncash
c3fd211b43
kernel/k_memory_block: Ensure members are always initialized
2022-12-05 15:27:47 -05:00
Lioncash
dcca650599
kernel/physical_core: Ensure is_interrupted is always initialized
2022-12-05 15:19:37 -05:00
Lioncash
dddc9bb8f1
kernel/thread: Ensure stack_top and argument are always initialized
2022-12-05 15:19:36 -05:00
Lioncash
4769d798f9
kernel/kernel: Ensure shutdown threads are always initialized
2022-12-05 15:19:36 -05:00
liamwhite
3b19f741bd
Merge pull request #6833 from abouvier/unbundle
...
cmake: prefer system libraries
2022-12-05 12:26:09 -05:00
Mai
a52d0b82a6
Merge pull request #9381 from liamwhite/uninit
...
service_thread: fix uninitialized memory usage
2022-12-04 22:30:16 +00:00
Liam
cec3a3cd5a
service_thread: fix uninitialized memory usage
2022-12-04 16:02:24 -05:00
liamwhite
3b9db85646
Merge pull request #9232 from bunnei/audio-default-thread
...
hle: service: audio: Use default service thread.
2022-12-04 15:31:40 -05:00
liamwhite
522e7c5663
Merge pull request #9273 from ameerj/per-game-profile
...
Configuration: Add per-game input profiles
2022-12-04 13:38:01 -05:00
Alexandre Bouvier
8e17b5469f
cmake: prefer system libraries
2022-12-04 17:09:25 +01:00
liamwhite
02b10a6e4d
Merge pull request #9374 from liamwhite/externals
...
externals: update dynarmic, SDL2
2022-12-04 10:44:12 -05:00
Liam
6d2c597371
externals: update dynarmic, SDL2
2022-12-04 10:12:26 -05:00
bunnei
f77cc6c412
Merge pull request #9344 from liamwhite/null
...
video_core: add null backend
2022-12-03 11:23:25 -08:00
liamwhite
75e16547f8
Merge pull request #9300 from ameerj/pch
...
CMake: Use precompiled headers to improve compile times
2022-12-03 14:10:06 -05:00
liamwhite
22aff09b33
Merge pull request #9289 from liamwhite/fruit-company
...
general: fix compile for Apple Clang
2022-12-03 12:09:21 -05:00
Matías Locatti
c043ba8467
Merge pull request #9303 from liamwhite/new-vulkan-init
...
Vulkan: update initialization
2022-12-02 18:32:54 -03:00
Liam
6072b22a0b
core: add option to break on unmapped access
2022-12-02 08:25:45 -05:00
liamwhite
d8bd52c6f1
Merge pull request #9348 from Morph1984/when-the-network-is-down
...
service: nifm: Update stubs for Submit/GetRequestState/GetResult
2022-12-01 22:14:43 -05:00
Narr the Reg
a4725bcb73
service: nfc: Implement mifare service
2022-12-01 20:43:59 -06:00
ameerj
5b5612c1cc
CMake: Consolidate common PCH headers
2022-11-30 18:30:30 -05:00
Fernando S
4e89979c87
Merge pull request #9320 from yuzu-emu/fix-audio-suspend
...
AudioCore: Take suspend lock when stalling the running process.
2022-11-30 16:41:32 +01:00
ameerj
37bc5118ea
CMake: Use precompiled headers
2022-11-29 18:50:49 -05:00
liamwhite
55a3cbfa0d
Merge pull request #9340 from lioncash/nvdrv
...
nvdrv: Simplify builder declarations
2022-11-29 08:27:13 -05:00
liamwhite
6b8ab9ed8f
Merge pull request #9346 from lioncash/vtable
...
producer_listener: Add virtual destructor to IProducerListener
2022-11-29 08:26:32 -05:00
liamwhite
a7f1fa7bfc
Merge pull request #9345 from lioncash/fence
...
consumer_base: Pass std::shared_ptr by const reference
2022-11-29 08:26:25 -05:00
liamwhite
b6373c5ea5
Merge pull request #9343 from lioncash/bounds
...
syncpoint_manager: Reduce redundant bounds checks
2022-11-29 08:26:16 -05:00
Morph
00fdffec58
service: nifm: Update stubs for Submit/GetRequestState/GetResult
2022-11-28 22:58:10 -05:00
Liam
89dd7dc180
video_core: add null backend
2022-11-28 19:49:09 -05:00
Lioncash
25dda06f49
producer_listener: Add virtual destructor to IProducerListener
...
Several member variables are shared_ptr's to this base class. Even
though producer listeners are still unimplemented, this ensures we
always have consistent deletion behavior once this ends up being used
polymorphically.
2022-11-28 19:39:13 -05:00
Lioncash
ae74f46e78
buffer_item_consumer: Pass fence by const-ref in ReleaseBuffer()
...
This isn't directly modified.
Also allows rvalues to be used with it.
2022-11-28 19:16:20 -05:00
Lioncash
3020f72b0c
buffer_queue_consumer: std::move std::shared_ptr in Connect()
...
Avoids an unnecessary reference count increment and decrement
2022-11-28 19:12:26 -05:00
Lioncash
c0c4f6dfa6
consumer_base: Pass shared_ptr by const reference
...
Avoids churning atomic reference count increments and decrements.
2022-11-28 19:09:44 -05:00
Lioncash
260a495a23
consumer_base: Remove redundant virtual
...
override already serves this purpose
2022-11-28 19:06:34 -05:00
Lioncash
7a329ae56c
syncpoint_manager: Mark IsSyncpointAllocated() as const
...
This doesn't modify class state at all.
2022-11-28 16:08:21 -05:00
Lioncash
d0883027d6
syncpoint_manager: Reduce number of bounds checks
...
The only time we need to check bounds is on the first access.
2022-11-28 16:06:01 -05:00
Lioncash
ad787b20ca
nvdrv: Simplify builder declarations
...
We can just use auto here. If one of these ever happens to not be
derived from nvdevice, then this will cause a compilation error.
We can also move the devices into the collection to get rid of an
unnecessary atomic reference count increment and decrement.
2022-11-28 10:43:48 -05:00
Lioncash
780ae92265
core/hid/emulated_controller: Use ranges version of transform
...
Makes the transform calls much nicer to read.
2022-11-28 10:00:42 -05:00
Lioncash
2ec7d0b5fd
common/input: Add helpers functions for creating input and output devices
...
Avoids the redundancy of needing to explictly specify the common
namespace and the type.
2022-11-28 10:00:37 -05:00
Liam
2956a33463
Vulkan: update initialization
...
Co-authored-by: bylaws <bylaws@users.noreply.github.com>
2022-11-27 14:58:28 -05:00
german77
a67e776af9
yuzu-cmd: Fix input callback crash on close
2022-11-27 10:53:22 -06:00
Valeri
278c0e6e8d
crypto: use user-provided keys whenever possible
...
Solves an issue where autogenerated title keys would take precedence over those provided by user.
2022-11-27 05:08:25 +03:00
bunnei
8f6245be9a
core: Use atomic instead of a lock to protect is_paused.
...
- This allows us to call IsPaused() elsewhere if we are holding the suspend lock.
2022-11-26 13:46:38 -08:00
Lioncash
97f273e94e
service: Make use of buffer element count helpers
2022-11-23 13:43:20 -05:00
Lioncash
59335f6796
hle_ipc: Add helper functions for getting number of buffer elements
2022-11-23 13:15:19 -05:00
Lioncash
c31f19b6d1
hle_ipc: Mark relevant member functions as [[nodiscard]]
...
Will allow the compiler to complain about cases where ignoring the
return value would be a bug.
2022-11-23 13:08:52 -05:00
Liam
9737615948
general: fix compile for Apple Clang
2022-11-22 22:22:28 -05:00
liamwhite
168c9ee341
Merge pull request #9299 from lioncash/cast
...
k_handle_table: Remove cast to void* in GetObjectForIpc
2022-11-22 17:47:53 -05:00
Lioncash
8d99aae45b
k_handle_table: Remove cast to void* in GetObjectForIpc
...
This was used to get around the KProcess class being incomplete. We can
just move this to the cpp file and eliminate the cast entirely, letting
the compiler do its work.
2022-11-22 13:58:42 -05:00
bunnei
f047f376d4
Merge pull request #9219 from german77/nfc_impl
...
service: nfc: Implement NFC IUser service
2022-11-22 10:28:38 -08:00
ameerj
9efdad6a27
Configuration: Add per-game input profiles
2022-11-20 14:06:31 -05:00
Narr the Reg
db7bcd51ae
Merge branch 'master' into nfc_impl
2022-11-20 09:31:20 -06:00
Liam
eb0713f781
dmnt:cht: fix copy-paste error
2022-11-20 10:14:22 -05:00
bunnei
57a05b1653
Merge pull request #9238 from german77/cabinet_applet
...
service: am: Implement cabinet applet
2022-11-20 00:48:39 -08:00
bunnei
109c31c90f
Merge pull request #9254 from FernandoS27/auto-cpu-fix
...
Dynarmic: Remove inaccurate NaN from Auto CPU settings.
2022-11-19 12:52:41 -08:00
liamwhite
bcbc25eeb3
Merge pull request #9191 from german77/touching_souls
...
core: hid: Implement true multitouch support
2022-11-19 13:21:01 -05:00
Narr the Reg
327d225c3e
service: nfc: Implement nfc user
2022-11-19 08:51:59 -06:00
german77
aa075a0c08
service: hid: Only overclock npad controllers
2022-11-19 08:44:42 -06:00
Narr the Reg
38c48cf8d8
core: hid: Implement true multitouch support
2022-11-19 08:44:33 -06:00
bunnei
1fb33bd1e1
Merge pull request #9234 from liamwhite/data-cash-money
...
kernel: implement data cache management operations
2022-11-18 13:18:36 -08:00
bunnei
405d685101
Merge pull request #9244 from liamwhite/lost-wakeup
...
nvnflinger: fix lost wakeup
2022-11-17 17:15:47 -08:00
Morph
e5a446a0df
Merge pull request #9229 from Docteh/achy_breaky_heart
...
Add break for default cases
2022-11-17 19:20:18 -05:00
Fernando Sahmkow
bc95753107
Dynarmic: Remove inaccurate NaN from Auto CPU settings.
2022-11-17 16:59:41 +01:00
bunnei
9e27624a19
Merge pull request #9243 from german77/result
...
core: Update result module
2022-11-14 20:36:38 -08:00
Liam
cf202f3718
nvnflinger: fix lost wakeup
2022-11-14 21:18:52 -05:00
Narr the Reg
18fcc03b3c
core: Update result module
2022-11-14 20:08:47 -06:00
Kyle Kienapfel
6fa3faec65
Add break for default cases
...
Visual Studio has an option to search all files in a solution, so I
did a search in there for "default:" looking for any missing break
statements.
I've left out default statements that return something, and that throw
something, even if via ThrowInvalidType. UNREACHABLE leads towards throw
R_THROW macro leads towards a return
2022-11-13 16:30:55 -08:00
german77
75e6ec85e1
general: Address review comments
2022-11-13 17:13:43 -06:00
german77
a253d1557d
service: am: Fix cabinet applet result
2022-11-13 14:25:00 -06:00
german77
fb57cd26a1
service: am: Implement cabinet applet backend
2022-11-13 11:07:48 -06:00
german77
6c045c9beb
service: nfc: fix tagprotocol and implement GetApplicationAreaId
2022-11-13 10:52:48 -06:00
liamwhite
040a01a5dd
Merge pull request #9225 from liamwhite/debugger-instance
...
Debugger improvements
2022-11-12 21:04:00 -05:00
Liam
651f6598ac
kernel: implement FlushProcessDataCache
2022-11-12 11:27:04 -05:00
bunnei
b51c1544b9
Merge pull request #9224 from liamwhite/services-arent-processes
...
service_thread: remove explicit KProcess
2022-11-11 22:37:04 -08:00
bunnei
0d6a8824d0
hle: service: audio: Use default service thread.
...
- This was arbitrarily added by me, and does not appear to be helpful.
2022-11-11 17:34:39 -08:00