Fernando Sahmkow
f11218a03e
SMMU: Implement physical memory mirroring
2024-01-18 21:12:30 -05:00
Fernando Sahmkow
9db159da71
SMMU: Initial adaptation to video_core.
2024-01-18 21:12:30 -05:00
Fernando Sahmkow
d0329a2c00
SMMU: Implement backing CPU page protect/unprotect
2024-01-18 21:12:30 -05:00
Fernando Sahmkow
eb4f7f35ea
NVDRV: Implement sessions and initial implementation of SMMU
2024-01-18 21:12:30 -05:00
Fernando Sahmkow
04b4af6044
Core: Initial implementation of device memory mapping
2024-01-18 21:12:30 -05:00
Liam
c6dc206cd6
vi: check layer state before opening or closing
2024-01-17 22:03:40 -05:00
Andrew Pilley
d523e188e6
Update based on feedback
2024-01-17 18:14:05 -08:00
Liam
5f9a3c23db
nvnflinger: ensure display abandonment considers all layers and future layers
2024-01-17 18:45:39 -05:00
Andrew Pilley
813e852dd5
Allow -u to accept a username string in addition to index, and suppress the User selector even if settings requires it to be shown for one instance only.
2024-01-17 10:31:00 -08:00
Narr the Reg
4acc872fce
service: set: Implement stubbed functions
2024-01-15 23:17:03 -06:00
Narr the Reg
61f8e3026d
service: set: Refractor setting service
2024-01-15 23:16:36 -06:00
Narr the Reg
e2313faec9
service: hid: Fully implement abstract vibration
2024-01-15 23:15:40 -06:00
Narr the Reg
682d36b368
service: nfc: Create backup when none exist
2024-01-15 14:07:54 -06:00
liamwhite
f05d1c60be
Merge pull request #12677 from GPUCode/whyy-modders
...
core: Support multiple modules per patcher
2024-01-15 13:52:38 -05:00
liamwhite
d449600f76
Merge pull request #12665 from german77/proof
...
service: acc: Only save profiles when profiles have changed
2024-01-15 13:52:33 -05:00
Charles Lombardo
5255221e6c
Merge pull request #12659 from liamwhite/audio-memory
...
audio: fetch process object from handle table
2024-01-15 13:52:01 -05:00
Charles Lombardo
d94c0b840f
Merge pull request #12612 from liamwhite/fs-pid
...
fsp-srv: use program registry for SetCurrentProcess
2024-01-15 13:51:14 -05:00
Charles Lombardo
b6e1736bc3
Merge pull request #12611 from liamwhite/resource-management-is-hard
...
kernel: fix resource management issues
2024-01-15 13:50:58 -05:00
Charles Lombardo
31331b7b5f
Merge pull request #12610 from liamwhite/reply-and-dont-receive
...
server_manager: respond to session close correctly
2024-01-15 13:50:43 -05:00
GPUCode
26a25d2280
core: Support multiple modules per patcher
2024-01-15 00:46:05 +02:00
german77
27d5b89fbd
service: acc: Only save profiles when profiles have changed
2024-01-13 14:28:29 -06:00
Liam
36739873d2
loader: fix homebrew nro registration
2024-01-13 13:48:56 -05:00
Liam
b31c464b90
kernel: optimize page free on shutdown
2024-01-12 19:19:07 -05:00
Liam
bf50a0e0c2
kernel: fix debugger and process list lifetime
2024-01-12 18:31:33 -05:00
Liam
12fe8c5b76
kernel: fix page leak on process termination
2024-01-12 18:31:33 -05:00
Liam
6ad73a00d2
audio: fetch process object from handle table
2024-01-12 10:03:16 -05:00
german77
194746c558
service: hid: Create abstracted pad structure
2024-01-11 19:35:04 -06:00
Liam
2397093e4f
fsp-srv: use program registry for SetCurrentProcess
2024-01-11 11:28:52 -05:00
Narr the Reg
8997eddfa9
Merge pull request #12609 from liamwhite/wrong-name-again
...
vi: minor cleanups
2024-01-09 11:15:56 -06:00
Viktor Szépe
cff668e1c4
Fix typos in src/core ( #12625 )
...
* Fix typos in src/core
* Fix typo correction
* Fix indentation of MemoryStateNames
* Fix indent
2024-01-08 13:31:48 -06:00
Liam
1d7fb4cffb
vi: connect vsync event handle lifetime to application display service interface
2024-01-07 21:47:41 -05:00
Liam
d9d6ebebc0
server_manager: respond to session close correctly
2024-01-07 21:33:24 -05:00
Liam
beab2c3fc7
vi: fix name of nvnflinger
2024-01-07 21:31:03 -05:00
liamwhite
03a5484633
Merge pull request #12600 from german77/npad-impl
...
service: hid: Hook interface implementations
2024-01-07 20:41:06 -05:00
liamwhite
1c3dacfe99
Merge pull request #12599 from german77/settings
...
service: set: Use official names
2024-01-07 20:40:56 -05:00
liamwhite
2d388e1391
Merge pull request #12576 from t895/total-save-manager
...
android: Re-add global save manager
2024-01-07 07:33:31 -05:00
german77
94693e5e4b
service: hid: Implement GetLastActiveNpad
2024-01-06 23:30:43 -06:00
german77
1f3c770e79
service: hid: Implement AssigningSingleOnSlSrPress
2024-01-06 23:30:42 -06:00
german77
c599f3700b
service: hid: Implement SetNpadSystemExtStateEnabled
2024-01-06 23:30:41 -06:00
german77
c38b84d931
service: set: Rename files
2024-01-06 23:16:03 -06:00
german77
243494192f
service: hid: Implement CaptureButtonAssignment
2024-01-06 21:18:44 -06:00
german77
92f2afb736
service: set: Use official names
2024-01-06 17:37:36 -06:00
Narr the Reg
11a23ca48c
service: hid: Add functions needed by Qlaunch
2024-01-06 16:10:37 -06:00
Narr the Reg
146975c880
hid_core: Move hid to it's own subproject
2024-01-05 11:41:15 -06:00
liamwhite
37ce8e2509
Merge pull request #12557 from merryhime/termination-ipi
...
KThread: Send termination interrupt to all cores a thread has affinity to
2024-01-04 15:50:40 -05:00
t895
a8ca5b211a
android: Re-add global save manager
...
Reworked to correctly collect and import/export saves that could exist in either /nand/user/save/000...000/<user id> or /nand/user/save/account/<user id raw string>
2024-01-04 00:56:40 -05:00
Narr the Reg
b3e76e2cb1
service: hid: Remove data races when handling shared memory
2024-01-03 20:21:16 -06:00
Narr the Reg
1f0a03d1e0
service: hid: Implement NpadResource and NpadData
2024-01-03 20:21:14 -06:00
Merry
d4bb92866b
KThread: Send termination interrupt to all cores a thread has affinity to
...
KThread::RequestTerminate may run from a thread which is not the CurrentCore, and thus
masking this out is erroneous.
2024-01-02 21:34:34 +00:00
liamwhite
6282725a54
Merge pull request #12543 from FernandoS27/stop-liking-posts-from-ur-friends-ex
...
VideoCore: A few fixes to DMA and swapchain
2024-01-01 15:02:20 -05:00
liamwhite
5ff67edd66
Merge pull request #12536 from german77/npad_interface
...
service: hid: Use applet resource to get latest shared memory handle
2024-01-01 15:02:13 -05:00
Narr the Reg
7a478d7b9a
Merge pull request #12454 from liamwhite/ct-stuff
...
core_timing: minor refactors
2024-01-01 13:56:31 -06:00
Narr the Reg
5dbd02ebb1
Merge pull request #12466 from liamwhite/sh2
...
core: track separate heap allocation for linux
2024-01-01 13:56:16 -06:00
Narr the Reg
48d8e2b709
Merge pull request #12501 from liamwhite/ips
...
ips_layer: prevent out of bounds access with offset exceeding module size
2024-01-01 13:56:06 -06:00
Narr the Reg
6592748d0c
Merge pull request #12513 from liamwhite/jit-fix
...
jit: use code memory handles correctly
2024-01-01 13:55:51 -06:00
Fernando Sahmkow
d9b2778306
Vulkan: Only recreate swapchain if the frame is bigger than the swap image.
2023-12-31 21:03:46 +01:00
Fernando Sahmkow
a81686eff8
MaxwellDMA: Don't flush the outputs of a dma copy.
2023-12-31 21:00:01 +01:00
Narr the Reg
37bb42e1ec
service: hid: Use applet resource to get latest shared memory handle
2023-12-31 10:51:01 -06:00
Liam
208438868e
jit: use code memory handles correctly
2023-12-29 01:07:47 -05:00
Liam
c421e9e729
k_capabilities: simplify KTrace map skip logic
2023-12-28 01:22:57 -05:00
Liam
c51aa8d29f
ips_layer: prevent out of bounds access with offset exceeding module size
2023-12-28 01:16:51 -05:00
liamwhite
acc826f8fa
Merge pull request #12455 from liamwhite/end-wait
...
kernel: use simple mutex for object list container
2023-12-26 11:46:19 -05:00
Liam
c366d8e8d9
core: track separate heap allocation for linux
2023-12-25 23:30:56 -05:00
Liam
7836881b24
am/jit: reference memory instance from context
2023-12-24 19:36:42 -05:00
Liam
ac1e946390
kernel: remove unecessary process member from handle table
2023-12-24 19:23:03 -05:00
Liam
6bd1dfa8cc
service: fetch objects from the client handle table
2023-12-24 19:20:43 -05:00
Liam
ad4d66a5db
kernel: use simple mutex for object list container
2023-12-23 16:26:07 -05:00
Liam
0865db645e
core_timing: block advance thread while clearing and signal after
2023-12-23 15:36:46 -05:00
Liam
f60d4cbe93
core_timing: handle concurrent unscheduling of looping events
2023-12-23 15:36:46 -05:00
Liam
468ef514f1
core_timing: use static typing for no-wait unschedule
2023-12-23 15:36:46 -05:00
Liam
b9545c5a0e
core_timing: remove user data value
2023-12-23 15:36:44 -05:00
Liam
3d08a55a87
kernel: fix resource limit imbalance
2023-12-22 21:52:49 -05:00
Liam
a7ff872a4c
kernel: restrict nce to applications
2023-12-22 21:52:49 -05:00
Liam
1fdcd70bad
general: properly support multiple memory instances
2023-12-22 21:52:49 -05:00
Liam
8243f4e3c7
k_server_session: remove scratch buffer usage in favor of direct copy
2023-12-22 21:52:49 -05:00
Liam
5244690809
k_server_session: process for guest servers
2023-12-22 21:52:49 -05:00
Liam
e2b5f2392e
kernel: instantiate memory separately for each guest process
2023-12-22 21:52:49 -05:00
Narr the Reg
22946d67ad
service: hid: Fix crash on InitializeVibrationDevice
2023-12-20 22:52:36 -06:00
Fernando S
11fb4a3a11
Merge pull request #12417 from liamwhite/arm64-gcc-fix
...
nce: hide shadowing warnings from dynarmic headers
2023-12-20 18:46:08 +01:00
Liam
cdf5beae3d
nce: hide shadowing warnings from dynarmic headers
2023-12-20 11:07:50 -05:00
Liam
236173f804
nce: increase handler stack size
2023-12-19 15:24:13 -05:00
Liam
f5846edffa
nce: fix read size in simd immediate emulation
2023-12-19 12:51:19 -05:00
Fernando S
09271d839c
Merge pull request #12392 from liamwhite/mode
...
fs: implement OpenDirectoryMode
2023-12-19 16:14:29 +01:00
Fernando S
23ce66de64
Merge pull request #12304 from liamwhite/flinger-wtf
...
nvnflinger: mark buffer as acquired when acquired
2023-12-19 16:12:56 +01:00
liamwhite
acf46708b3
Merge pull request #12349 from Kelebek1/return_system_channels_active
...
Have GetActiveChannelCount return the system channels instead of host device channels
2023-12-18 15:06:16 -05:00
Liam
25e63fa34a
fs: implement OpenDirectoryMode
2023-12-18 00:12:38 -05:00
liamwhite
b020c5ee5e
Merge pull request #12378 from liamwhite/offsetof
...
set: add cstddef for offsetof macro
2023-12-16 13:58:13 -05:00
liamwhite
6821ee6f5f
Merge pull request #12331 from liamwhite/layer-confusion
...
vi: fix confusion between closing and destroying layers
2023-12-16 13:57:42 -05:00
Liam
e6973a159d
nvnflinger: mark buffer as acquired when acquired
2023-12-16 13:40:04 -05:00
Liam
73e77e9330
set: add cstddef for offsetof macro
2023-12-16 12:57:37 -05:00
Kelebek1
b490e69020
Have GetActiveChannelCount return the system channels instead of host device channels
2023-12-16 12:49:28 -05:00
liamwhite
a871e2fd99
Merge pull request #12184 from Kelebek1/system_settings
...
Make system settings persistent across boots
2023-12-16 11:47:52 -05:00
liamwhite
21512172f3
Merge pull request #12237 from liamwhite/nce-sigtrap
...
nce: implement instruction emulation for misaligned memory accesses
2023-12-16 11:47:35 -05:00
liamwhite
1c033b5417
Merge pull request #12290 from liamwhite/deferred-path-split
...
Improve path splitting speed
2023-12-16 11:47:29 -05:00
liamwhite
0116c74ba7
Merge pull request #12358 from liamwhite/optimized-alloc
...
common: use memory holepunching when clearing memory
2023-12-16 11:47:03 -05:00
liamwhite
a582f9519d
Merge pull request #12359 from german77/real_shared
...
service: hid: Allow to create multiple instances of shared memory
2023-12-16 11:46:51 -05:00
liamwhite
6238976dc6
ssl: fix output byte buffer size issue ( #12372 )
2023-12-16 17:42:33 +01:00
Kelebek1
9dc9e91e2a
Make system settings persistent across boots
2023-12-16 06:01:54 +00:00
Liam
1075c88dca
common: use memory holepunching when clearing memory
2023-12-14 23:44:33 -05:00
Narr the Reg
fd0ac567a5
core: Make sure npad is initialized
2023-12-14 20:04:38 -06:00
Narr the Reg
5913b7a750
core: hid: Clean up headers
2023-12-14 09:36:33 -06:00
Narr the Reg
6de39c8398
service: hid: Allow to create multiple instances of shared memory
2023-12-13 23:24:28 -06:00
Liam
ccef7d7326
vi: fix confusion between closing and destroying layers
2023-12-12 12:14:23 -05:00
liamwhite
70e6913e79
Merge pull request #12328 from german77/profile_manager
...
core: Use single instance of profile manager
2023-12-12 11:06:37 -05:00
liamwhite
52bebf4d03
Merge pull request #12333 from german77/aruid_free
...
service: hid: Improve CreateAppletResource implementation and free resources
2023-12-12 11:06:24 -05:00
Liam
91aefd5d35
nce: adjust initialization for repeated calls
2023-12-11 23:02:01 -05:00
Liam
ecb3d74dcd
nce: implement instruction emulation for misaligned memory accesses
2023-12-10 18:23:42 -05:00
liamwhite
d361150117
Merge pull request #12322 from liamwhite/savedata-absurdity
...
fs: don't enumerate hidden savedata size file
2023-12-10 18:17:11 -05:00
liamwhite
d4e1f5215f
Merge pull request #12327 from liamwhite/tipc
...
sm:: fix tipc deserialization
2023-12-10 18:17:04 -05:00
liamwhite
12b8cd2ffb
Merge pull request #12317 from liamwhite/sc-fix
...
kernel: fix single core
2023-12-10 18:16:58 -05:00
liamwhite
7d3fe08d79
Merge pull request #12321 from liamwhite/ro2
...
ro: add separate ro service
2023-12-10 18:16:50 -05:00
german77
93c91bcbab
service: hid: Improve CreateAppletResource implementation and free resources
2023-12-10 16:17:51 -06:00
german77
c2b2d7a903
core: Use single instance of profile manager
2023-12-10 11:29:43 -06:00
Liam
e407b54319
sm:: fix tipc deserialization
2023-12-09 22:56:21 -05:00
liamwhite
4907a83298
Merge pull request #12296 from liamwhite/client-session
...
kernel: implement remaining IPC syscalls
2023-12-09 19:03:56 -05:00
liamwhite
81602e8ba5
Merge pull request #12299 from liamwhite/light-ipc
...
kernel: implement light IPC
2023-12-09 19:03:50 -05:00
Liam
88c44ff95d
ro: add separate ro service
2023-12-09 15:50:34 -05:00
Liam
ca5bda4ce9
fbshare: set external format correctly
2023-12-09 14:51:15 -05:00
Liam
8cb7fdc9f7
fs: don't enumerate hidden savedata size file
2023-12-09 14:05:16 -05:00
Liam
662bc7c6a1
service: populate pid and handle table from client
2023-12-09 13:45:25 -05:00
Liam
cb8b331981
service: use interface factory in server manager
2023-12-09 13:45:25 -05:00
liamwhite
c673c3d019
Merge pull request #12289 from german77/aruid
...
service: hid: Introduce proper AppletResource emulation
2023-12-09 13:41:06 -05:00
Liam
e1b32b6c35
debug: fix reading of module names
2023-12-09 11:18:10 -05:00
Liam
f85425fe86
kernel: fix single core
2023-12-08 20:31:18 -05:00
liamwhite
992d09ce59
Merge pull request #12208 from liamwhite/romfs
...
romfs: optimize parsing and building
2023-12-08 12:25:58 -05:00
Liam
f486fe3971
kernel: implement light IPC
2023-12-07 09:13:43 -05:00
Narr the Reg
7fa71afe9e
service: hid: Introduce proper AppletResource emulation
2023-12-06 20:24:04 -06:00
Liam
dcc9df5dd2
kernel: implement remaining IPC syscalls
2023-12-06 17:33:00 -05:00
Fernando S
9046851d9f
Merge pull request #12236 from liamwhite/cpu-refactor
...
core: refactor emulated cpu core activation
2023-12-06 14:19:17 +01:00
BreadFish64
d1ee9e48d9
Improve path splitting speed
2023-12-05 23:17:19 -05:00
liamwhite
b14de726cf
Merge pull request #12271 from liamwhite/pretext-fix
...
nce: fix pre-text patch for single modules
2023-12-05 07:51:53 -05:00
Liam
33b7353d73
arm: fix context save of vector regs
2023-12-04 22:19:11 -05:00
Liam
3d5c6a73cb
core: refactor emulated cpu core activation
2023-12-04 10:37:16 -05:00
Liam
904a3b682f
fsmitm_romfsbuild: optimize for data locality
2023-12-03 16:29:57 -05:00
Liam
a4449e0f22
romfs: cache file and directory metadata tables
2023-12-03 16:29:57 -05:00
Liam
79d497c022
nce: fix pre-text patch for single modules
2023-12-02 16:14:52 -05:00
Liam
4321fc6154
file_sys: handle null romfs
2023-12-01 23:39:48 -05:00
liamwhite
7e94c3548d
Merge pull request #12255 from german77/amiibo
...
service: nfc: Don't tag amiibos as corrupted if they are loaded as read only
2023-12-01 18:39:38 -05:00
Narr the Reg
919d2ba033
service: nfc: Don't tag amiibos as corrupted if they are loaded as read only
2023-12-01 14:21:55 -06:00
liamwhite
da8676dda1
Merge pull request #12074 from GPUCode/yuwu-on-the-metal
...
Implement Native Code Execution (NCE)
2023-11-30 09:20:55 -05:00
GPUCode
e6e15d2d10
core: Rename patcher file
2023-11-29 23:49:16 +02:00
liamwhite
04ba8e26ad
Merge pull request #12203 from liamwhite/crash-fix
...
set: don't load version nca with null romfs
2023-11-29 12:34:02 -05:00
Liam
2e0cd11266
set: don't load version nca with null romfs
2023-11-27 15:20:18 -05:00
FrozenAra
6c23b151ba
Fixed controller applet crashing when on FW17+
2023-11-27 20:01:30 +01:00
liamwhite
69852e9a0b
Merge pull request #12183 from german77/justmii
...
service: nfc: Validate mii data
2023-11-27 11:56:37 -05:00
liamwhite
cec5c38362
Merge pull request #12160 from german77/mouse_constrain
...
yuzu: Constrain mouse in render window when emulated
2023-11-27 11:56:24 -05:00
amazingfate
c95a560bc3
qt: add cpu_backend configuration
2023-11-26 20:44:07 -05:00
Liam
82c5e2472e
general: fix mac compile
2023-11-26 19:50:10 -05:00
Liam
d7db22185a
loader: fix gcc compile
2023-11-26 19:34:07 -05:00
liamwhite
36a1c3b4c1
Merge pull request #12180 from german77/cabinetmii
...
service: am: Create random mii for cabinet applet
2023-11-26 09:50:08 -05:00
liamwhite
3a1949d81e
Merge pull request #12156 from german77/firmwarevs
...
yuzu: Display firmware version
2023-11-26 09:49:53 -05:00
german77
95e03e4901
service: nfc: Validate mii data
2023-11-25 23:40:01 -06:00
german77
6194fbfcdb
service: am: Create random mii for cabinet applet
2023-11-25 21:31:05 -06:00
Liam
ef41168c8d
time: undef GetCurrentTime for Windows
2023-11-25 16:18:02 -05:00
liamwhite
1622e4969d
Merge pull request #12151 from german77/no-crash
...
core: hid: Ensure output devices are initialized
2023-11-25 10:17:11 -05:00
GPUCode
181a7a027f
oaknut: Address warnings
2023-11-25 00:47:43 -05:00
GPUCode
1e5a1d1702
Address more review comments
2023-11-25 00:47:43 -05:00
Liam
982183d4c6
loader: apply nso patch to offset program image
2023-11-25 00:47:36 -05:00
Liam
2e2b3de592
arm_nce: skip data aborts for crash handling parity
2023-11-25 00:47:36 -05:00
GPUCode
a1818cddf6
arm: Print backtrace on data abort
2023-11-25 00:47:36 -05:00
Liam
a3e2b0bd91
patch: check offsets from first code word
2023-11-25 00:47:36 -05:00
GPUCode
3930e3d7fd
core: Define HAS_NCE macro
2023-11-25 00:47:36 -05:00
Liam
683b58b075
arm_nce: skip dc cvac on possibly write-protected areas
2023-11-25 00:47:36 -05:00
GPUCode
3814ca9d84
Address some review comments
2023-11-25 00:47:35 -05:00
GPUCode
3764cc4be2
android: Add cpu bakend gui toggle
2023-11-25 00:47:28 -05:00
Liam
19619b1b14
arm: Implement native code execution backend
2023-11-25 00:46:47 -05:00
GPUCode
dee5002355
device_memory: Enable direct mapped addresses for nce
2023-11-25 00:46:47 -05:00
Liam
3a5992f2ef
kernel: Manually specify aslr region start
2023-11-25 00:46:15 -05:00
GPUCode
2590906d14
core: Respect memory permissions in Map
2023-11-25 00:46:15 -05:00
Narr the Reg
d1d6a2f648
yuzu: Constrain mouse in render window when emulated
2023-11-24 19:32:35 -06:00
Narr the Reg
8ea5b7163d
yuzu: Display firmware version
2023-11-24 12:58:07 -06:00
Narr the Reg
11592509cb
core: hid: Ensure output devices are initialized
2023-11-24 10:18:16 -06:00
liamwhite
9e0d6c05a4
Merge pull request #12076 from german77/resource
...
service: hid: Create appropriate hid resources
2023-11-23 12:36:19 -05:00
liamwhite
5391429da6
Merge pull request #12107 from daisymlleung/patch-1
...
Stub CheckBlockedUserListAvailability for Super Bomberman R 2
2023-11-21 09:19:41 -05:00
Narr the Reg
5f6b4418df
service: hid: Create appropriate hid resources
2023-11-20 17:19:17 -06:00
Narr the Reg
1588a32251
Merge pull request #12011 from Macj0rdan/controller-applet
...
Implemented qlaunch version of the controller applet
2023-11-20 16:53:33 -06:00
daisymlleung
afdf4437aa
Stub CheckBlockedUserListAvailability
2023-11-21 01:57:58 +08:00
Squall-Leonhart
a1ca92a79a
service: hid: Ensure resource manager is initialized
...
Ensures the proper initialization of the IActiveVibrationDeviceList. By using GetResourceManager() instead of resource_manager, we make sure that the IActiveVibrationDeviceListis initialized before it's used, preventing potential null issues.
Fixes #12088
2023-11-20 11:43:56 +11:00
FrozenAra
09d7bec6e1
Implemented qlaunch version of the controller applet
2023-11-19 18:38:58 +01:00
liamwhite
8a84cfff20
Merge pull request #11912 from liamwhite/nv-graphic-buffer
...
nvnflinger: use graphic buffer lifetime for map handle
2023-11-17 20:41:34 -05:00
liamwhite
1096b8a8c0
Merge pull request #11917 from liamwhite/abandonment
...
nvnflinger: implement consumer abandonment
2023-11-17 20:41:23 -05:00
Narr the Reg
cd8dcc1250
service: hid: Introduce firmware settings and update activate controller calls
2023-11-16 18:51:14 -06:00
Narr the Reg
ea658d2688
service: hid: Implement xpad calls
2023-11-16 11:18:11 -06:00
liamwhite
e5e8e11242
Merge pull request #11995 from FernandoS27/you-dont-need-the-new-iphone
...
Revert PR #11806 and do a proper fix to the memory handling.
2023-11-16 09:17:13 -05:00
liamwhite
9041ac3da1
Merge pull request #12038 from german77/no_implement
...
service: hid: Split hid.cpp into individual interfaces
2023-11-16 09:13:56 -05:00
liamwhite
3254ed9634
Merge pull request #12007 from german77/moar_buttons
...
core: hid: Split SL and SR buttons
2023-11-16 09:13:39 -05:00
Narr the Reg
174c52d27b
service: hid: Split hid.cpp into individual interfaces
2023-11-15 09:59:54 -06:00
liamwhite
7f9a8173fb
Merge pull request #12032 from liamwhite/fruit-compiler
...
fix apple clang build again
2023-11-14 12:23:28 -05:00
liamwhite
cc9222aca1
Merge pull request #12028 from liamwhite/coretiming-shutdown
...
core_timing: lock event queue access
2023-11-14 12:23:11 -05:00
Liam
b8b198ec48
fix apple clang build again
2023-11-14 11:53:02 -05:00
Liam
e65d90b331
core_timing: lock event queue access
2023-11-14 11:51:04 -05:00
Liam
317741356f
core: check for thread dpc before eret
2023-11-13 11:28:23 -05:00
Fernando Sahmkow
ce3c3c0038
Memory: Fix invalidation handling from the CPU/Services
2023-11-12 14:10:40 +01:00
german77
6788dffa53
core: hid: Split SL and SR buttons
2023-11-11 21:03:15 -06:00
liamwhite
81373c8499
Merge pull request #11980 from german77/moment
...
service: irs: Implement moment image processor
2023-11-11 20:02:23 -05:00
liamwhite
1522dc1c68
Merge pull request #12004 from liamwhite/fix-hbl
...
k_capabilities: ignore map region when KTrace is disabled
2023-11-11 20:02:01 -05:00
Liam
53bf815d4b
k_capabilities: ignore map region when KTrace is disabled
2023-11-11 10:45:43 -05:00
Liam
17a571379b
gdbstub: read module information from memory layout
2023-11-11 10:41:06 -05:00
Narr the Reg
0e940163c6
service: irs: Implement moment image processor
2023-11-11 00:28:12 -06:00
Liam
f43c66f811
k_page_table: fix shutdown
2023-11-10 12:01:35 -05:00
Liam
dcb79112e0
k_page_table: use more precise icache invalidates
2023-11-10 12:01:35 -05:00
Liam
713f292a25
kernel: add KPageTableBase
...
Co-authored-by: Kelebek1 <eeeedddccc@hotmail.co.uk>
2023-11-10 12:01:35 -05:00
liamwhite
694cbdefec
Merge pull request #11896 from liamwhite/crop
...
renderer_vulkan: fix cropping for presentation
2023-11-06 12:08:03 -05:00
liamwhite
c2b363e9b5
Merge pull request #11873 from liamwhite/buffer-control
...
nvdrv: add ioctl command serialization wrapper
2023-11-06 12:07:50 -05:00
german77
8103dc13a9
service: am: Set the correct album program id
2023-11-05 17:26:34 -06:00
liamwhite
1a0441ab59
Merge pull request #11969 from german77/profile
...
service: acc: Ensure proper profile size
2023-11-05 13:15:14 -05:00
liamwhite
a8eb85d23a
Merge pull request #11961 from german77/recent
...
yuzu: Only store games in the recently played list
2023-11-05 13:15:07 -05:00
german77
de308bed13
yuzu: Only store games in the recently played list
2023-11-05 09:34:16 -06:00
german77
65b1508d0d
service: acc: Ensure proper profile size
2023-11-05 09:28:22 -06:00
Narr the Reg
01ba4d64aa
core: hid: Signal color updates
2023-11-04 14:13:18 -06:00
liamwhite
0aa728d18d
Merge pull request #11960 from german77/silence
...
service: hid: Silence EnableUnintendedHomeButtonInputProtection
2023-11-04 11:14:27 -04:00
liamwhite
5be99c03ec
Merge pull request #11881 from liamwhite/sockets-safe-access
...
sockets: use safe access helpers
2023-11-04 11:14:08 -04:00
german77
a4ebe1ea92
service: hid: Silence EnableUnintendedHomeButtonInputProtection
2023-11-03 23:22:28 -06:00
liamwhite
d19048ab59
Merge pull request #11948 from german77/hard_ring
...
service: hid: Ensure GetNextEntryIndex can't fail
2023-11-03 09:14:17 -04:00
liamwhite
56083940a9
Merge pull request #11947 from german77/battery
...
core: hid: Fix wrong battery values
2023-11-03 09:14:10 -04:00
liamwhite
675cf9ef86
Merge pull request #11936 from liamwhite/romfs-nonsense
...
romfs: fix extraction of single-directory root
2023-11-03 09:13:46 -04:00
german77
2e105a9809
service: hid: Ensure GetNextEntryIndex can't fail
2023-11-02 20:33:19 -06:00
german77
f91fbf463f
core: hid: Fix wrong battery values
2023-11-02 18:39:08 -06:00
Liam
14a1a578fb
romfs: fix extraction of single-directory root
2023-10-31 23:26:51 -04:00
liamwhite
b2af122553
Merge pull request #11929 from dima-xd/swkbd-applet
...
service: am: Add support for LLE Software Keyboard Applet
2023-10-31 16:55:49 -04:00
Dzmitry Dubrova
74bb20f0bf
service: am: Add support for LLE Software Keyboard Applet
2023-10-31 21:14:37 +03:00
liamwhite
6aecd890b6
Merge pull request #11892 from german77/pkm_screenshot
...
service: am: Implement ISelfController::SaveCurrentScreenshot
2023-10-31 09:47:19 -04:00
Liam
bf43b80a2b
nvnflinger: implement consumer abandonment
2023-10-29 23:38:24 -04:00
Liam
2e8b7e4a40
nvnflinger: use graphic buffer lifetime for map handle
2023-10-29 22:12:16 -04:00
liamwhite
43334d6afb
Merge pull request #11911 from german77/leak_event
...
core: Close all KEvents
2023-10-29 19:46:47 -04:00
german77
4e453935a3
core: Close all KEvents
2023-10-29 13:52:12 -06:00
liamwhite
72202eb15f
Merge pull request #11843 from liamwhite/sync-process
...
kernel: update KProcess
2023-10-29 11:24:52 -04:00
liamwhite
56341c3b8d
Merge pull request #11827 from liamwhite/preallocated
...
nvnflinger: fix reporting and freeing of preallocated buffers
2023-10-29 11:24:44 -04:00
Liam
00d53a6ca9
renderer_vulkan: fix cropping for presentation
2023-10-28 00:05:06 -04:00
Narr the Reg
44e75debd3
service: am: Implement ISelfController::SaveCurrentScreenshot
2023-10-26 22:29:52 -06:00
Alexandre Bouvier
fc27fd3f02
cmake: prefer system stb headers
2023-10-25 21:47:32 +02:00
Liam
3ecf82aa62
sockets: use safe access helpers
2023-10-25 14:07:22 -04:00
Liam
cb176ebdd7
nvdrv: rework to remove memcpy
2023-10-25 13:05:56 -04:00
Liam
16156ce42d
nvdrv: fix up remaining copy calls
2023-10-25 13:05:56 -04:00
Liam
a059aedaf1
nvdrv: convert nvmap
2023-10-25 13:05:56 -04:00
Liam
ad86f1c9ce
nvdrv: convert codec devices
2023-10-25 13:05:56 -04:00
Liam
fb546a39c7
nvdrv: convert nvhost_gpu
2023-10-25 13:05:56 -04:00
Liam
61e871d4e7
nvdrv: convert nvhost_ctrl
2023-10-25 13:05:56 -04:00
Liam
9153c0f5ce
nvdrv: convert nvhost_ctrl_gpu
2023-10-25 13:05:55 -04:00
Liam
9bcb1481ff
nvdrv: add ioctl command serialization, convert nvhost_as_gpu
2023-10-25 13:05:55 -04:00
Liam
0d565eb61b
kernel: make sure new process is in list
2023-10-25 10:05:45 -04:00
liamwhite
4e23876a07
Merge pull request #11812 from german77/save_capture
...
service: caps: Implement SaveScreenShotEx0 and variants
2023-10-24 21:43:51 -04:00
Narr the Reg
346c49b55a
service: ipc: Add third read buffer index
2023-10-23 10:33:01 -06:00
german77
45cacf372c
service: caps: Implement SaveScreenShotEx0 and variants
2023-10-23 10:18:22 -06:00
liamwhite
89a1e55cef
Merge pull request #11846 from german77/cheats
...
cheats: Clamp cheat names without failing
2023-10-23 10:33:37 -04:00
german77
535c39a080
cheats: Clamp cheat names without failing
2023-10-21 21:04:03 -06:00
Liam
ae885084e2
kernel: fix extraneous ref
2023-10-21 22:16:41 -04:00
Liam
91acaf7bb6
kernel: shutdown app before gpu
2023-10-21 20:35:18 -04:00
Liam
f0c6de7dd2
kernel: signal thread on termination completed
2023-10-21 20:03:41 -04:00
Liam
c00faac482
kernel: add missing TLR clear
2023-10-21 20:03:41 -04:00
Liam
62e106dbe8
kernel: update KProcess
2023-10-21 20:03:41 -04:00
liamwhite
d0ab5211a1
Merge pull request #11831 from liamwhite/hosversionbetween
...
set: return version info from system archive
2023-10-21 18:22:20 -04:00
Liam
46493463a9
set: return version info from system archive
2023-10-20 13:29:52 -04:00
Liam
72e224cf4e
ts: add OpenSession
2023-10-20 13:29:32 -04:00
Fernando S
979b5b7b5b
Merge pull request #11748 from liamwhite/kern_1700
...
kernel: update for 17.0.0
2023-10-20 17:08:00 +02:00
Liam
e95745685a
nvnflinger: fix reporting and freeing of preallocated buffers
...
Co-authored-by: Kelebek1 <eeeedddccc@hotmail.co.uk>
2023-10-20 10:17:32 -04:00
Liam
d96b03a1c0
kernel: fix incorrect calculation of used non system memory value
2023-10-20 09:12:10 -04:00
Liam
6031cf1017
gdbstub: add PermissionLocked to mappings table
2023-10-20 02:53:31 -04:00
Liam
92a65b4947
kernel: fix format string error
2023-10-20 02:41:32 -04:00
Liam
5be32a6147
kernel: make check fully constexpr for broken msvc constant folding
2023-10-20 02:34:15 -04:00
Liam
84ce50cc1b
k_page_table: add MapFirstGroup
2023-10-20 02:34:15 -04:00
Liam
010fc2f562
kernel: update KMemoryRegionType values
2023-10-20 02:34:15 -04:00
Liam
d73dbceba6
k_page_table: implement PermissionLocked
2023-10-20 02:34:15 -04:00
Liam
3e0887f205
k_page_table: add new CheckMemoryState helper
2023-10-20 02:34:15 -04:00
Liam
144ae38fb3
kernel: split Io memory state, add PermissionLocked attribute
2023-10-20 02:34:15 -04:00
Liam
c9dab6d0c1
kernel: reshuffle ini1 size, add slab clear note
2023-10-20 02:34:15 -04:00
liamwhite
af8a4057ad
Merge pull request #11822 from german77/no-name
...
service: mii: Create random mii with name
2023-10-19 16:54:05 -04:00
Narr the Reg
9b0929a9a2
service: mii: Create random mii with name
2023-10-19 13:35:02 -06:00
liamwhite
f7b2c6c154
Merge pull request #11791 from german77/bufferx
...
service: hle: Allow to access read buffer A and X directly
2023-10-18 09:21:58 -04:00
liamwhite
bc96d78b78
Merge pull request #11774 from liamwhite/refcount-issue
...
fsmitm_romfsbuild: avoid unnecessary copies of vfs pointers
2023-10-17 11:49:11 -04:00
german77
ecf98d37b8
service: hle: Allow to access read buffer A and X directly
2023-10-16 23:36:46 -06:00
Narr the Reg
c9fe01204f
service: acc: Implement functions needed for profile select ( #11653 )
2023-10-17 05:12:55 +02:00
Liam
37871dacd4
fsmitm_romfsbuild: avoid unnecessary copies of vfs pointers
2023-10-13 14:22:52 -04:00
liamwhite
ee42690234
Merge pull request #11766 from liamwhite/open-sesame
...
k_page_table: add missing page group open when locking memory
2023-10-13 09:29:05 -04:00
liamwhite
6486ef8c30
Merge pull request #11746 from liamwhite/relr
...
jit: add support for relr-type relocations
2023-10-12 18:23:31 -04:00
liamwhite
f5f2d810d4
Merge pull request #11763 from liamwhite/lto-noinline
...
kernel: mark TLS accessors as noinline for non-MSVC LTO
2023-10-12 18:23:25 -04:00
Liam
060b9482da
k_page_table: add missing page group open when locking memory
2023-10-12 15:00:26 -04:00
Narr the Reg
02ed3990dd
service: caps: Remove ambiguous call
2023-10-12 12:52:55 -06:00
Liam
66472af2d0
kernel: mark TLS accessors as noinline for non-MSVC LTO
2023-10-12 09:16:22 -04:00
Narr the Reg
9c1da21f29
service: caps: Fix GetAlbumFileList3AaeAruid and GetAlbumFileList0AafeAruidDeprecated
2023-10-11 20:01:33 -06:00
Liam
b1f2242a7a
jit: add support for relr-type relocations
2023-10-11 11:13:19 -04:00
Fernando S
20bd1d928a
Merge pull request #11650 from german77/lle_album
...
service: am: Add support for LLE Album Applet
2023-10-10 11:47:13 +02:00
Fernando S
e1c7cc839b
Merge pull request #11686 from liamwhite/trmem
...
kernel: implement transfer memory
2023-10-10 11:45:56 +02:00
Narr the Reg
ab5db1da9f
service: caps: Implement album manager and reorganize service
2023-10-07 20:57:20 -06:00
Narr the Reg
a4a54b3dfc
service: Stub multiple functions to increase stability of album applet
2023-10-07 20:57:10 -06:00
liamwhite
a365fea8fb
Merge pull request #11639 from liamwhite/no-program-id-change
...
loader: don't reassign program ID on npdm reparse
2023-10-07 12:49:32 -04:00
liamwhite
5634106d53
Merge pull request #11648 from liamwhite/unicode-nonsense
...
gdbserver: use numeric character references for unicode
2023-10-07 12:49:27 -04:00
liamwhite
923480f63d
Merge pull request #11669 from german77/settings2
...
yuzu: Fix custom rtc and mute audio settings
2023-10-07 10:55:21 -04:00
Liam
97d79bf8a6
kernel: implement transfer memory
2023-10-04 22:32:27 -04:00
Narr the Reg
95c4dbc163
core: Update clocks when settings are saved
2023-10-03 20:20:26 -06:00
Liam
445d504f94
ci: fix new codespell errors
2023-10-02 18:03:05 -04:00
Narr the Reg
71d3ce3125
service: caps: Partially implement IAlbumAccessorService
2023-10-02 12:38:03 -06:00
Narr the Reg
ed1e1c4ff6
yuzu: Allow to launch album applet from firmware
2023-10-02 11:29:12 -06:00
liamwhite
dfca06767d
Merge pull request #11652 from liamwhite/shutdown-goes-brrr
...
k_page_table: skip page table clearing on finalization
2023-10-02 11:28:24 -04:00
Liam
b938c81e08
k_page_table: skip page table clearing on finalization
2023-10-01 23:38:56 -04:00
Liam
718b8afce5
fsp-srv: enable auto save data creation on init
2023-10-01 23:33:19 -04:00
liamwhite
bbb8399737
Merge pull request #11632 from german77/hle_cabinet
...
service: am: Add support for LLE Cabinet Applet
2023-10-01 19:24:46 -04:00
Liam
890f5f8759
gdbserver: use numeric character references for unicode
2023-10-01 19:22:08 -04:00
Narr the Reg
9e23ac140d
service: nfc: Implement SetRegisterInfoPrivate mii support
2023-10-01 11:38:30 -06:00
Narr the Reg
5914a599ad
service: am: Implement shared buffer
...
Co-authored-by: Liam <byteslice@airmail.cc>
2023-10-01 11:38:30 -06:00
Narr the Reg
9567f9aaed
service: nvnflinger: Implement shared buffer
...
Co-authored-by: Liam <byteslice@airmail.cc>
2023-10-01 11:38:30 -06:00
Narr the Reg
cc49e406c6
service: ldn: Implement lp2p:m and stub IMonitorService
2023-10-01 11:38:30 -06:00
Narr the Reg
7aae68820f
service: am: Set push in arguments according to the launched applet
2023-10-01 11:38:30 -06:00
Liam
bb4e14e7ac
loader: don't reassign program ID on npdm reparse
2023-09-30 11:35:42 -04:00
Fernando S
4489e2da63
Merge pull request #11493 from merryhime/evt
...
core_timing: Replace queue with a fibonacci heap
2023-09-29 13:37:19 +02:00
Fernando S
8611856605
Merge pull request #11546 from Kelebek1/core_timing_mutex
...
Reduce core timing mutex contention
2023-09-29 13:36:57 +02:00
Kelebek1
cd93b07a50
Don't send a double focus change message
2023-09-28 23:47:10 +01:00
liamwhite
7e5b1c7911
Merge pull request #11626 from german77/mii-fix
...
service: mii: Fix reported bugs
2023-09-28 09:37:02 -04:00
liamwhite
da04fbdc2e
Merge pull request #11402 from FernandoS27/depth-bias-control
...
Vulkan: Implement Depth Bias Control
2023-09-28 09:35:37 -04:00
german77
24eb40cb70
service: mii: Fix reported bugs
2023-09-27 23:34:03 -06:00
Liam
21f88c0195
fsp-srv: add GetFileSystemAttribute
2023-09-25 21:40:23 -04:00
german77
107ff81582
service: mii: Limit checks to string size
2023-09-23 20:14:37 -06:00
german77
3ed5dd2ed9
service: hid: Set last connected controller as active
2023-09-23 20:14:37 -06:00
german77
3ff84838ab
service: am: Stub to exit applet cleanly
2023-09-23 20:14:37 -06:00
german77
7fd77a5f77
service: am: Implement stuff needed for Mii Edit
2023-09-23 20:14:33 -06:00
german77
79d6d1573a
service: fsp: Implement CreateSaveDataFileSystemBySystemSaveDataId and OpenSaveDataFileSystemBySystemSaveDataId
2023-09-23 20:13:36 -06:00
german77
3004adebfe
service: ns: Implement GetSharedFontInOrderOfPriorityForSystem
2023-09-23 20:13:36 -06:00
Narr the Reg
8b011a8447
am: mii_edit: Implement DB operations
2023-09-21 18:21:39 -06:00
rkfg
e65b34058f
pfs: Fix reading filenames past the buffer end
2023-09-21 05:12:05 +03:00
Kelebek1
f9f340064f
Reduce core timing mutex contention
2023-09-19 23:10:03 +01:00
liamwhite
253a6aeb54
Merge pull request #11526 from german77/mii_service_v2
...
service: mii: Update implementation Part2 - Mii database support
2023-09-19 09:24:49 -04:00
liamwhite
8f69b66dba
Merge pull request #11536 from abouvier/renderdoc
...
cmake: prefer system renderdoc header
2023-09-19 09:24:36 -04:00
liamwhite
bdb2eb84e0
Merge pull request #11538 from cathyjf/renderdoc-check-correct-win32-symbol
...
renderdoc: Check for `_WIN32` symbol rather than `WIN32`
2023-09-19 09:24:23 -04:00
Liam
b6940c53f4
aoc: stub purchase info calls
2023-09-18 16:20:53 -04:00
Cathy J. Fitzpatrick
fe3e925719
renderdoc: Check for `_WIN32` symbol rather than `WIN32`
2023-09-18 12:09:51 -07:00
german77
4e16712bea
service: mii: Address review comments
2023-09-18 11:08:04 -06:00
Alexandre Bouvier
6c2231980f
cmake: prefer system renderdoc header
2023-09-18 18:35:20 +02:00
german77
fbc8db57d0
service: mii: Implement the rest of the service
2023-09-17 16:06:25 -06:00
german77
854dbcc479
service: mii: Implement database manager
2023-09-17 16:06:25 -06:00
german77
89da19cd99
service: mii: Implement figurine database
2023-09-17 16:06:25 -06:00
german77
f347e2069b
service: mii: Add device crc16
2023-09-17 16:06:25 -06:00
german77
da7883dbc5
service: nfc: Fully Implement GetRegisterInfoPrivate
2023-09-17 16:06:25 -06:00
german77
3eb0bc88bc
service: mii: Complete structs and fix mistakes
2023-09-17 16:06:23 -06:00
lat9nq
521b048287
mii_types: Remove null terminator check
...
This is an OoB array access, causing a crash on at least the Linux
Flatpak releases.
Co-authored-by: german77 <juangerman-13@hotmail.com>
2023-09-17 15:23:57 -04:00
liamwhite
3b8b123ca1
Merge pull request #11522 from liamwhite/vfs-needs-results
...
registered_cache: correct file deletion case
2023-09-17 10:42:51 -04:00
Liam
d8bd6aa253
registered_cache: correct file deletion case
2023-09-16 18:25:17 -04:00
Fernando Sahmkow
dcf5c4bec0
Vulkan: add temporary workaround for AMDVLK
2023-09-16 11:59:20 -04:00
Kelebek1
07b63b15ad
Reimplement HardwareOpus
2023-09-16 11:56:25 -04:00
liamwhite
d3fb5e07d6
Merge pull request #11519 from german77/system-policy
...
service: hid: Implement ApplyNpadSystemCommonPolicy
2023-09-16 11:40:42 -04:00
liamwhite
99a6311436
Merge pull request #11518 from german77/bad-npad
...
service: hid: Implement last active Npad and fix some errors.
2023-09-16 11:40:35 -04:00
liamwhite
393a13bb28
Merge pull request #11517 from german77/amiibo-format
...
service: nfc: Fix amiibo formatting
2023-09-16 11:40:26 -04:00
liamwhite
424d7d422f
Merge pull request #11500 from liamwhite/debug-stuff
...
core: improve debug workflow
2023-09-16 11:40:17 -04:00
liamwhite
f56103605e
Merge pull request #11492 from lat9nq/c-numeric-conversions
...
general: Remove uncaught usages of C++ string number conversions
2023-09-16 11:40:03 -04:00
liamwhite
a821c64716
Merge pull request #11483 from FearlessTobi/save-size-max
...
am: Stub GetSaveDataSizeMax
2023-09-16 11:39:56 -04:00
german77
ef869803f8
service: hid: Implement ApplyNpadSystemCommonPolicy
2023-09-16 08:38:10 -06:00
Merry
6b1bac89fd
core_timing: Attempt to reduce heap sifting
2023-09-16 07:42:45 +01:00
Merry
4e5157a6f1
core_timing: Use a fibonacci heap
2023-09-16 07:42:45 +01:00
german77
5318d8059b
hid: service: Remove outdated field from npad
2023-09-16 00:31:45 -06:00
german77
d6aef45e6d
hid: service: Implement Last active Npad
2023-09-16 00:31:19 -06:00
german77
7f1f2ac887
service: hid: Ensure state is correct
2023-09-16 00:31:09 -06:00
german77
3bca24616a
service: nfc: Fix amiibo formatting
2023-09-15 22:02:57 -06:00
Liam
efef3d8487
core: improve debug workflow
2023-09-14 16:44:15 -04:00
GPUCode
cc2c6d8805
debug: Add renderdoc capture hotkey
2023-09-14 16:37:41 +03:00
Liam
08191b07e3
ngc: implement service
2023-09-14 09:14:08 -04:00
liamwhite
2a0025937d
Merge pull request #11385 from liamwhite/acceptcancel
...
internal_network: cancel pending socket operations on application process termination
2023-09-13 15:40:58 -04:00
lat9nq
d7d4e66657
cheat_engine: Remove uncaught usage of stoul
2023-09-13 13:51:58 -04:00
lat9nq
41a08286c8
ips_layer: Remove uncaught usage of stoul/ll
2023-09-13 13:36:25 -04:00
lat9nq
2eb9d34e33
key_manager: Remove uncaught usage of stoul
2023-09-13 13:36:25 -04:00
liamwhite
eb7f0f2359
Merge pull request #11486 from liamwhite/system-verification
...
qt: add verification for installed contents
2023-09-13 09:39:27 -04:00
liamwhite
ffd5076088
Merge pull request #11480 from german77/mii_service
...
service: mii: Update implementation Part1
2023-09-13 09:39:16 -04:00
liamwhite
4b68df6ef8
Merge pull request #11473 from liamwhite/fix-launch-param
...
am: Implement UserChannel parameters
2023-09-13 09:39:06 -04:00
Liam
07a6563a93
qt: add verification for installed contents
2023-09-12 09:20:50 -04:00
Narr the Reg
be2ccb036e
service: mii: Remove most magic values
2023-09-11 22:07:55 -06:00
FearlessTobi
67e57a29d5
am: Stub GetSaveDataSizeMax
...
Needed for Minecraft Legends.
2023-09-12 00:21:03 +02:00
FearlessTobi
8850cadc54
bsd: Demote "Select" log to dehug
...
This is very spammy in Minecraft Legends.
2023-09-12 00:20:42 +02:00
german77
fb1b1b2725
mii: service: Address review
2023-09-11 09:54:32 -06:00
german77
6377a46668
mii: Prepare Interface for new implementation
2023-09-11 00:58:46 -06:00
german77
f1d7f23049
service: mii: Fix ver3 inconsistencies
2023-09-11 00:23:46 -06:00
german77
64e9fdd8fc
service: mii: move char info operations
2023-09-10 23:18:08 -06:00
german77
b97f872a35
service: mii: Move store data operations
2023-09-10 23:18:03 -06:00
german77
1675343e86
service: mii: Move core data operations
2023-09-10 22:52:33 -06:00
german77
15619d2052
service: mii: Move ver3 operations
2023-09-10 22:42:38 -06:00
german77
e51d54de30
service: mii: separate mii types into their own file
2023-09-10 22:18:25 -06:00
german77
15342ada16
service: mii: Move all raw data to it's file
2023-09-10 22:14:37 -06:00
german77
e05834e9c4
service: mii: Add mii util and result
2023-09-10 20:43:26 -06:00
FearlessTobi
ff92a0c8f4
am: Implement UserChannel parameters
...
Used by the Super Mairo 3D All-Stars collection.
2023-09-10 15:39:25 -04:00
liamwhite
c9a6e59029
Merge pull request #11456 from liamwhite/worse-integrity-verification
...
core: implement basic integrity verification
2023-09-10 13:40:39 -04:00
FearlessTobi
abf45c2d0b
am: Remove bcat from PopLaunchParameter
...
This never belonged here and has no use anymore since the Boxcat backend was removed.
.
2023-09-09 20:44:05 -04:00
Liam
5009a2db52
internal_network: log error on interrupt pipe read failure
2023-09-08 14:00:07 -04:00
Narr the Reg
9fc8535c6a
service: mii: Fix broken mii on MK8
2023-09-07 11:46:12 -06:00
Liam
76671fdede
core: implement basic integrity verification
2023-09-06 16:49:27 -04:00
liamwhite
7ee4a4c2f8
Merge pull request #11428 from Kelebek1/adsp_rework
...
Rework ADSP into a wrapper for apps
2023-09-06 09:13:06 -04:00
liamwhite
a0ca0f7bb0
Merge pull request #11434 from danilaml/fix-warnings
...
msvc: set warning level to /W4 globally
2023-09-06 09:12:58 -04:00
liamwhite
4e8d049bbe
Merge pull request #11451 from german77/mob_mii
...
service: mii: Fix default mii database
2023-09-06 09:12:33 -04:00
Steveice10
d5cac207fb
core: Add support for loading NSPs with personalized tickets. ( #10048 )
...
Co-authored-by: Morph <39850852+Morph1984@users.noreply.github.com>
2023-09-05 21:09:42 +02:00
german77
24bbc30675
service: mii: Fix default mii database
2023-09-05 01:17:06 -06:00
Kelebek1
de326e42bb
Rework ADSP into a wrapper for apps
2023-09-04 17:12:16 +01:00
Danila Malyutin
7f0de0f204
msvc: set warning level to /W4 globally
...
And fix a bunch of warnings
2023-09-03 18:42:10 +04:00
liamwhite
33234fe87d
Merge pull request #11384 from liamwhite/am-shutdown
...
am: shorten shutdown timeout when lock is not held
2023-09-02 14:42:35 -04:00
liamwhite
32052702c0
Merge pull request #11412 from liamwhite/key-area-keys
...
vfs: ensure key area keys are validated
2023-09-02 14:42:20 -04:00
FearlessTobi
a6855b92a2
hwopus: Implement GetWorkBufferSizeExEx
...
Allows Sea of Stars to boot.
Fixes https://github.com/yuzu-emu/yuzu/issues/11415 .
2023-08-30 18:29:43 +02:00
liamwhite
cd75d82e31
Merge pull request #11409 from liamwhite/splatoon-nsd-v2
...
sfdnsres: ensure lp1 is not resolved
2023-08-29 09:27:32 -04:00
Liam
3a8fb9bf5f
vfs: ensure key area keys are validated
2023-08-28 22:22:00 -04:00
Liam
56f7b53540
sfdnsres: ensure lp1 is not resolved
2023-08-28 11:55:53 -04:00
FearlessTobi
a0a93f966d
hwopus: Implement OpenHardwareOpusDecoderForMultiStreamEx and DecodeInterleavedForMultiStream
...
Allows MLB The Show 22 to boot.
Fixes https://github.com/yuzu-emu/yuzu/issues/7911 .
2023-08-27 18:03:10 +02:00
liamwhite
e392005f94
Merge pull request #11356 from lat9nq/console-mode-pg
...
general,config-qt: Present Console Mode as an enum with separate options in game properties
2023-08-26 19:15:00 -04:00
Liam
109b96ba86
internal_network: cancel pending socket operations on application process termination
2023-08-26 18:19:51 -04:00
Liam
7a26dc51eb
am: shorten shutdown timeout when lock is not held
2023-08-26 17:12:05 -04:00
liamwhite
658eaacf21
Merge pull request #11370 from FearlessTobi/fix-filesize
...
filesystem: Return correct error for RenameFile when dest_path already exists
2023-08-25 18:02:54 -04:00
liamwhite
f03291268a
ssl: tolerate handshake without hostname set ( #11328 )
2023-08-26 00:02:32 +02:00
liamwhite
5552856663
registered_cache: create fake CNMT entries for program updates of multiprogram applications ( #11319 )
2023-08-26 00:00:15 +02:00
liamwhite
aa16fd2422
kernel: offset code entry point for 39-bit address space type ( #11326 )
2023-08-25 23:59:32 +02:00
Liam
a8ceb25eb6
nvhost_as_gpu: ensure mappings are aligned to big page size when deallocated
2023-08-25 09:39:18 -04:00
FearlessTobi
87575638fe
filesystem: Return correct error for RenameFile when dest_path already exists
...
Allows Grid Autosport to boot.
Fixes https://github.com/yuzu-emu/yuzu/issues/8287 .
2023-08-24 17:07:39 +02:00
liamwhite
728ced5458
Merge pull request #11327 from liamwhite/skyline-2
...
sockets: avoid locking around socket session calls
2023-08-24 10:33:53 -04:00
lat9nq
81d209ee34
general: Use console mode helper across project
2023-08-22 21:58:23 -04:00
lat9nq
447ec24378
general: Convert use_docked_mode to an enumeration
...
Allows some special interactions with it in the Qt frontend.
2023-08-22 16:07:52 -04:00
liamwhite
f4b28d3df7
Merge pull request #11309 from liamwhite/full-xci
...
file_sys/card_image: support dumps with prepended key area
2023-08-21 16:09:22 -04:00
Liam
82be3bde98
patch_manager: apply manual HTML patches when present
2023-08-21 10:58:23 -04:00
Fernando S
8d0f19d7ae
Merge pull request #11284 from liamwhite/nca-release
...
vfs: expand support for NCA reading
2023-08-21 16:29:04 +02:00
Liam
9b39e25805
sockets: avoid locking around socket session calls
2023-08-19 23:09:35 -04:00
liamwhite
fba72cc462
Merge pull request #11288 from liamwhite/svc-tick
...
kernel: remove relative task registration
2023-08-18 09:12:19 -04:00
Liam
f9870c754f
file_sys/card_image: support dumps with prepended key area
2023-08-17 22:03:47 -04:00
Liam
a1ea1c3dd3
file_sys: tolerate empty NCA
2023-08-16 16:30:41 -04:00
comex
f117a873f8
Improve behavior when sending to closed connection
...
- On Unix, this would previously kill the Yuzu process with SIGPIPE.
Send MSG_NOSIGNAL to opt out of this.
- Add support for the proper error code in this situation, EPIPE.
- Windows has nonstandard behavior in this situation; translate it to
the standard behavior. Kind of pointless, but isn't it nice to be
correct?
2023-08-15 20:59:57 -04:00
Liam
1cecd1d96a
fssystem: rework for yuzu style
2023-08-15 17:47:40 -04:00
Liam
c8f0a5a18d
fssystem: reduce overalignment of unbuffered storage operations
2023-08-15 17:47:25 -04:00
Liam
5e3139e7c6
vfs: expand support for NCA reading
2023-08-15 17:47:25 -04:00
Fernando S
ec3d07e683
Merge pull request #11287 from liamwhite/replaced-bytes
...
gdbstub: fixup replaced instruction bytes in memory reads
2023-08-15 15:36:14 +02:00
bunnei
2f2dbd9dfb
Merge pull request #11256 from FearlessTobi/revert-10075
...
Partially Revert "Silence nifm spam"
2023-08-14 16:28:13 -07:00
Liam
50ce2f0b7b
kernel: remove relative task registration
2023-08-14 18:12:06 -04:00
Liam
efa3409a30
gdbstub: fixup replaced instruction bytes in memory reads
2023-08-14 16:33:27 -04:00
FearlessTobi
8c40577952
Revert "Silence nifm spam"
...
This reverts commit 325a8febfc .
2023-08-14 21:23:09 +02:00
liamwhite
36b8c187dc
Merge pull request #11281 from liamwhite/vi-scale-mode
...
nvnflinger: add missing scale mode
2023-08-14 09:19:03 -04:00
liamwhite
4f6853b7e6
Merge pull request #11259 from german77/hid
...
service: hid: Implement functions needed by QLaunch
2023-08-14 09:18:55 -04:00
Liam
dedb9a1132
nvnflinger: add missing scale mode
2023-08-13 13:57:02 -04:00
Liam
af393a7a30
ssl_backend_securetransport: remove stray .Code()
2023-08-11 23:32:46 -04:00
liamwhite
61d3c1cb9b
Merge pull request #11253 from liamwhite/i-hate-this-toolchain
...
general: fix apple clang build
2023-08-11 16:53:20 -04:00
Narr the Reg
f8a46b0f74
service: hid: Implement functions needed by QLaunch
2023-08-11 10:13:21 -06:00
bunnei
00ab684d50
Merge pull request #11093 from liamwhite/result-ergonomics
...
core: remove ResultVal type
2023-08-09 21:24:31 -07:00
Liam
3e4076c2ac
general: fix apple clang build
2023-08-09 22:38:37 -04:00
Narr the Reg
fbe7068a76
service: pctl: Partially revert 11221
2023-08-08 16:52:21 -06:00
Liam
79259430fd
fs: return result on null outputs
2023-08-08 16:12:04 -04:00
Liam
580f7f2ff1
general: fix incorrect conversions
2023-08-08 11:09:37 -04:00
Liam
9edd6d3198
ssl: remove ResultVal use
2023-08-08 11:09:37 -04:00
Liam
5f2c56cd15
core: remove ResultVal type
2023-08-08 11:09:37 -04:00
liamwhite
b9b4755d52
Merge pull request #11217 from german77/olsc
...
service: olsc: Implement IOlscServiceForSystemService ITransferTaskListController interfaces for QLaunch
2023-08-07 11:34:14 -04:00
liamwhite
b2d39ac29f
Merge pull request #11221 from german77/pctl
...
service: pctl: Implement functions needed for QLaunch
2023-08-07 11:34:07 -04:00
german77
212f58d38d
service: audctl: Stub functions needed by Qlaunch
2023-08-05 20:16:26 -06:00
german77
c392371552
service: olsc: Implement IOlscServiceForSystemService ITransferTaskListController interfaces for QLaunch
2023-08-05 11:47:51 -06:00
german77
f4e186117c
service: pctl: Implement functions needed for QLaunch
2023-08-05 11:27:41 -06:00
liamwhite
cc0d4aca11
Merge pull request #11210 from german77/settings
...
service: set: Implement system settings for Qlaunch
2023-08-05 12:58:32 -04:00
Narr the Reg
b0b6cf80a1
service: set: Add more system settings and address comments
2023-08-04 17:20:40 -06:00
Narr the Reg
b3b0fb46fd
service: set: Implement system settings for Qlaunch
2023-08-02 22:33:42 -06:00
Narr the Reg
e0ba30fb8e
service: am: Fix wrong interface
2023-08-02 13:00:30 -06:00
liamwhite
28b236b988
Merge pull request #10839 from lat9nq/pgc-plus
...
general: Reimplement per-game configurations
2023-08-02 14:25:52 -04:00
Morph
0a0368525c
audren_u: Fix parameter alignment
...
The reduction in size from 0x38 to 0x34 caused the parameter to be misaligned. Skipping 1 word fixes this.
2023-07-31 18:40:16 -04:00
lat9nq
f3c1a0c6ea
tz_content_man: Generate the time zone binary once
...
Fixes a memory leak with time zone binaries accumulating on theirselves.
2023-07-30 12:55:19 -04:00
liamwhite
fb3f5b0482
Merge pull request #11155 from liamwhite/memory3
...
memory: check page against address space size
2023-07-28 09:29:21 -04:00
liamwhite
a28a0c47f8
Merge pull request #10990 from comex/ubsan
...
Fixes and workarounds to make UBSan happier on macOS
2023-07-26 10:33:28 -04:00
Liam
32a48f0d50
memory: check page against address space size
2023-07-25 09:51:06 -04:00
liamwhite
904e8975ea
Merge pull request #11095 from liamwhite/memory2
...
memory: cleanup
2023-07-24 13:47:11 -04:00
Liam
caf76a5603
core: implement GetGaiStringErrorRequest, IContextRegistrar
2023-07-22 23:29:45 -04:00
Liam
46234254b1
core: reduce TOCTTOU memory access
2023-07-22 11:19:29 -04:00
Liam
7073afff3b
memory: minimize dependency on process
2023-07-22 11:19:29 -04:00
liamwhite
de2fb523e3
Merge pull request #11094 from liamwhite/get
...
kernel: misc cleanup of page table accessors
2023-07-22 11:17:36 -04:00
bunnei
62b18a45db
Merge pull request #11113 from liamwhite/nsd1
...
nsd: add GetApplicationServerEnvironmentType
2023-07-21 21:24:36 -07:00
Liam
545880f71b
core: remove remaining uses of dynamic_cast
2023-07-21 19:37:29 -04:00
Liam
f07dd39222
general: reduce use of dynamic_cast
2023-07-21 19:22:14 -04:00
lat9nq
c1fa82a168
k_system_control: Always return some memory size
2023-07-21 10:56:55 -04:00
lat9nq
e952af53be
core,common: Give memory layout setting an enum
...
Allows for 6GB and 8GB layouts to be selected.
2023-07-21 10:56:55 -04:00
lat9nq
5011827255
settings: Require time zone setting value for stirng
2023-07-21 10:56:55 -04:00
lat9nq
78f92086ca
settings,general: Rename non-confirming enums
2023-07-21 10:56:54 -04:00
lat9nq
d39bfc646f
configure_audio: Implement ui generation
...
Needs a considerable amount of management specific to some of
the comoboboxes due to the audio engine configuration.
general: Partial audio config implmentation
configure_audio: Implement ui generation
Needs a considerable amount of management specific to some of
the comoboboxes due to the audio engine configuration.
general: Partial audio config implmentation
settings: Make audio settings as enums
2023-07-21 10:56:07 -04:00
lat9nq
689efc9175
configure_system: Implement with for loop
2023-07-21 10:56:07 -04:00
lat9nq
4a5f3e4733
configure_graphics_advance: Generate UI at runtime
...
We can iterate through the AdvancedGraphics settings and generate the UI
during runtime. This doesn't help runtime efficiency, but it helps a ton
in reducing the amount of work a developer needs in order to add a new
setting.
2023-07-21 10:56:07 -04:00
lat9nq
bd8630531e
settings,core,config_sys: Remove optional type from custom_rtc, rng_seed
...
core: Fix MSVC errors
2023-07-21 10:56:07 -04:00
lat9nq
fc30b04714
settings,video_core: Consolidate ASTC decoding options
...
Just puts them all neatly into one place.
2023-07-21 10:56:07 -04:00
liamwhite
1b36e48f14
Merge pull request #11096 from german77/amiibooo
...
service: nfc: Update Implementation to match with latest RE
2023-07-21 09:21:48 -04:00
liamwhite
871be3a4d2
Merge pull request #11116 from lat9nq/clang-shadowing
...
general: Silence -Wshadow{,-uncaptured-local} warnings
2023-07-19 17:14:55 -04:00
liamwhite
075740115b
Merge pull request #11114 from Kelebek1/warnings
...
Mark SetIdleTimeDetectionExtension logging as debug
2023-07-19 17:14:45 -04:00
lat9nq
30e4e8c2f4
general: Silence -Wshadow{,-uncaptured-local} warnings
...
These occur in the latest commits in LLVM Clang.
2023-07-18 19:31:35 -04:00
Kelebek1
df8097de60
Debug SetIdleTimeDetectionExtension
2023-07-18 10:16:14 +01:00
Liam
0cd5b83aa3
nsd: add GetApplicationServerEnvironmentType
2023-07-17 21:34:23 -04:00
Morph
0263d2fb05
ssl: Link with crypt32 for secure channel backend
2023-07-17 15:46:24 -04:00
Morph
e5e843b73f
ssl: Reorder inclusions
2023-07-17 15:46:24 -04:00
Morph
74d0865478
network: Forward declarations
2023-07-17 15:36:03 -04:00
Narr the Reg
2aab79426a
service: nfc: Update Implementation to match with latest RE
2023-07-17 11:24:23 -06:00
liamwhite
b05ad55c4c
Merge pull request #10912 from comex/ssl
...
Implement SSL service
2023-07-16 16:56:47 -04:00
comex
85d77f636c
Fixes and workarounds to make UBSan happier on macOS
...
There are still some other issues not addressed here, but it's a start.
Workarounds for false-positive reports:
- `RasterizerAccelerated`: Put a gigantic array behind a `unique_ptr`,
because UBSan has a [hardcoded limit](https://stackoverflow.com/questions/64531383/c-runtime-error-using-fsanitize-undefined-object-has-a-possibly-invalid-vp )
of how big it thinks objects can be, specifically when dealing with
offset-to-top values used with multiple inheritance. Hopefully this
doesn't have a performance impact.
- `QueryCacheBase::QueryCacheBase`: Avoid an operation that UBSan thinks
is UB even though it at least arguably isn't. See the link in the
comment for more information.
Fixes for correct reports:
- `PageTable`, `Memory`: Use `uintptr_t` values instead of pointers to
avoid UB from pointer overflow (when pointer arithmetic wraps around
the address space).
- `KScheduler::Reload`: `thread->GetOwnerProcess()` can be `nullptr`;
avoid calling methods on it in this case. (The existing code returns
a garbage reference to a field, which is then passed into
`LoadWatchpointArray`, and apparently it's never used, so it's
harmless in practice but still triggers UBSan.)
- `KAutoObject::Close`: This function calls `this->Destroy()`, which
overwrites the beginning of the object with junk (specifically a free
list pointer). Then it calls `this->UnregisterWithKernel()`. UBSan
complains about a type mismatch because the vtable has been
overwritten, and I believe this is indeed UB. `UnregisterWithKernel`
also loads `m_kernel` from the 'freed' object, which seems to be
technically safe (the overwriting doesn't extend as far as that
field), but seems dubious. Switch to a `static` method and load
`m_kernel` in advance.
2023-07-15 12:00:28 -07:00
Liam
b47ce23b31
kernel: reduce page table region checking
2023-07-14 22:33:10 -04:00
Liam
6b6f0b21b9
k_process: PageTable -> GetPageTable
2023-07-14 21:43:15 -04:00
Tobias
16590ff2d0
file_sys/content_archive: Detect compressed NCAs ( #11047 )
2023-07-12 23:17:18 +02:00
bunnei
9a9da4301b
Merge pull request #10985 from liamwhite/handle-translate
...
k_server_session: translate special header for non-HLE requests
2023-07-11 16:49:24 -07:00
bunnei
ab18aeb500
Merge pull request #10996 from Kelebek1/readblock_optimisation
...
Use spans over guest memory where possible instead of copying data
2023-07-10 18:54:19 -07:00
Liam
1f791daa01
arm_interface: correct breakpoint rewind condition
2023-07-09 12:03:25 -04:00
Liam
ac90cfb927
k_server_session: translate special header for non-HLE requests
2023-07-08 01:01:49 -04:00
liamwhite
e6425500d3
vfs_real: use open file size for getting size ( #11016 )
2023-07-06 23:43:53 +02:00
german77
a4c3c3bc2e
service: nfc: Ensure controller is in the correct mode
2023-07-02 19:21:16 -06:00
Kelebek1
42638691b5
Use spans over guest memory where possible instead of copying data.
2023-07-02 23:09:48 +01:00
liamwhite
378fee4c18
Merge pull request #10998 from Morph1984/qt-stop-messing-with-me
...
core_timing: Remove GetCurrentTimerResolution in CoreTiming loop
2023-07-02 17:38:28 -04:00
liamwhite
6145c3edd0
Merge pull request #10969 from Morph1984/k-synchronize
...
kernel: Synchronize
2023-07-02 17:38:14 -04:00
Morph
81ba61a0bd
core_timing: Remove GetCurrentTimerResolution in CoreTiming loop
...
Other programs may change this value, but if thousands of syscalls in this loop is undesirable, then we can just set this once.
2023-07-02 15:08:04 -04:00
liamwhite
1bd420593c
Merge pull request #10942 from FernandoS27/android-is-a-pain-in-the-a--
...
Memory Tracking: Add mechanism to register small writes when gpu page is contested by GPU
2023-07-02 11:29:01 -04:00
liamwhite
35db479149
Merge pull request #10710 from liamwhite/romfs2
...
fsmitm_romfsbuild: avoid full path lookups
2023-07-02 11:28:55 -04:00
comex
1595193fa9
Rename variables to avoid -Wshadow warnings under GCC
2023-07-01 22:03:21 -07:00
comex
2ddbac990a
...actually add the SecureTransport backend to Git.
2023-07-01 17:48:36 -07:00
comex
f4b39f722d
Updates:
...
- Address PR feedback.
- Add SecureTransport backend for macOS.
2023-07-01 17:27:35 -07:00
comex
3b997a6083
Merge remote-tracking branch 'origin/master' into ssl
2023-07-01 15:01:11 -07:00
Morph
abe7f7c0a0
kernel: Synchronize
2023-07-01 16:21:22 -04:00
Morph
acfb053333
parcel: Optimize small_vector sizes
2023-06-30 22:05:28 -04:00
Morph
b8004b2472
general: Use ScratchBuffer where possible
2023-06-30 21:49:59 -04:00
Fernando Sahmkow
d1200cd5c6
Memory Tracker: Use 64 bit atomics instead of 128 bits
2023-06-29 12:25:12 +02:00
Fernando Sahmkow
4f68a8f45a
Memory Tracking: Optimize tracking to only use atomic writes when contested with the host GPU
2023-06-28 21:32:45 +02:00
Fernando Sahmkow
7ae0cdbb09
MemoryTracking: Initial setup of atomic writes.
2023-06-28 19:34:21 +02:00
Liam
d54f9ea34f
fsmitm_romfsbuild: avoid full path lookups
2023-06-27 23:25:47 -04:00
Merry
09012476db
arm_dynarmic_32: Remove disabling of block linking on arm64
2023-06-27 23:51:49 +01:00
comex
930b7ac6ee
PR feedback + constification
2023-06-25 19:24:49 -07:00
comex
73fb0e03a4
network.cpp: include expected.h
2023-06-25 18:51:39 -07:00
comex
ae42f278cb
re-format
2023-06-25 17:09:54 -07:00
comex
742d780d77
Fix more Windows build errors
...
I did test this beforehand, but not on MinGW, and the error that showed
up on the msvc builder didn't happen for me...
2023-06-25 17:06:57 -07:00
comex
3cc874f079
ssl: fix compatibility with OpenSSL 1.1.1
...
Turns out changes were needed after all.
2023-06-25 16:09:16 -07:00
comex
6018b182fc
Fixes:
...
- Add missing virtual destructor on `SSLBackend`.
- On Windows, filter out `POLLWRBAND` (one of the new flags added) when
calling `WSAPoll`, because despite the constant being defined on
Windows, passing it calls `WSAPoll` to yield `EINVAL`.
- Reduce OpenSSL version requirement to satisfy CI; I haven't tested
whether it actually builds (or runs) against 1.1.1, but if not, I'll
figure it out.
- Change an instance of memcpy to memmove, even though the arguments
cannot overlap, to avoid a [strange GCC
error](https://github.com/yuzu-emu/yuzu/pull/10912#issuecomment-1606283351 ).
2023-06-25 15:06:52 -07:00
comex
7fc1efe740
ssl: rename argument to avoid false positive codespell warning
...
The original name `larg` was copied from the OpenSSL documentation and
is not a typo of 'large' but rather an abbreviation of '`long`
argument'. But whatever, no harm in adding an underscore.
2023-06-25 13:10:41 -07:00
comex
6f8d5f068f
Implement SSL service
...
This implements some missing network APIs including a large chunk of the SSL
service, enough for Mario Maker (with an appropriate mod applied) to connect to
the fan server [Open Course World](https://opencourse.world/ ).
Connecting to first-party servers is out of scope of this PR and is a
minefield I'd rather not step into.
## TLS
TLS is implemented with multiple backends depending on the system's 'native'
TLS library. Currently there are two backends: Schannel for Windows, and
OpenSSL for Linux. (In reality Linux is a bit of a free-for-all where there's
no one 'native' library, but OpenSSL is the closest it gets.) On macOS the
'native' library is SecureTransport but that isn't implemented in this PR.
(Instead, all non-Windows OSes will use OpenSSL unless disabled with
`-DENABLE_OPENSSL=OFF`.)
Why have multiple backends instead of just using a single library, especially
given that Yuzu already embeds mbedtls for cryptographic algorithms? Well, I
tried implementing this on mbedtls first, but the problem is TLS policies -
mainly trusted certificate policies, and to a lesser extent trusted algorithms,
SSL versions, etc.
...In practice, the chance that someone is going to conduct a man-in-the-middle
attack on a third-party game server is pretty low, but I'm a security nerd so I
like to do the right security things.
My base assumption is that we want to use the host system's TLS policies. An
alternative would be to more closely emulate the Switch's TLS implementation
(which is based on NSS). But for one thing, I don't feel like reverse
engineering it. And I'd argue that for third-party servers such as Open Course
World, it's theoretically preferable to use the system's policies rather than
the Switch's, for two reasons
1. Someday the Switch will stop being updated, and the trusted cert list,
algorithms, etc. will start to go stale, but users will still want to
connect to third-party servers, and there's no reason they shouldn't have
up-to-date security when doing so. At that point, homebrew users on actual
hardware may patch the TLS implementation, but for emulators it's simpler to
just use the host's stack.
2. Also, it's good to respect any custom certificate policies the user may have
added systemwide. For example, they may have added custom trusted CAs in
order to use TLS debugging tools or pass through corporate MitM middleboxes.
Or they may have removed some CAs that are normally trusted out of paranoia.
Note that this policy wouldn't work as-is for connecting to first-party
servers, because some of them serve certificates based on Nintendo's own CA
rather than a publicly trusted one. However, this could probably be solved
easily by using appropriate APIs to adding Nintendo's CA as an alternate
trusted cert for Yuzu's connections. That is not implemented in this PR
because, again, first-party servers are out of scope.
(If anything I'd rather have an option to _block_ connections to Nintendo
servers, but that's not implemented here.)
To use the host's TLS policies, there are three theoretical options:
a) Import the host's trusted certificate list into a cross-platform TLS
library (presumably mbedtls).
b) Use the native TLS library to verify certificates but use a cross-platform
TLS library for everything else.
c) Use the native TLS library for everything.
Two problems with option a). First, importing the trusted certificate list at
minimum requires a bunch of platform-specific code, which mbedtls does not have
built in. Interestingly, OpenSSL recently gained the ability to import the
Windows certificate trust store... but that leads to the second problem, which
is that a list of trusted certificates is [not expressive
enough](https://bugs.archlinux.org/task/41909 ) to express a modern certificate
trust policy. For example, Windows has the concept of [explicitly distrusted
certificates](https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-r2-and-2012/dn265983(v=ws.11) ),
and macOS requires Certificate Transparency validation for some certificates
with complex rules for when it's required.
Option b) (using native library just to verify certs) is probably feasible, but
it would miss aspects of TLS policy other than trusted certs (like allowed
algorithms), and in any case it might well require writing more code, not less,
compared to using the native library for everything.
So I ended up at option c), using the native library for everything.
What I'd *really* prefer would be to use a third-party library that does option
c) for me. Rust has a good library for this,
[native-tls](https://docs.rs/native-tls/latest/native_tls/ ). I did search, but
I couldn't find a good option in the C or C++ ecosystem, at least not any that
wasn't part of some much larger framework. I was surprised - isn't this a
pretty common use case? Well, many applications only need TLS for HTTPS, and they can
use libcurl, which has a TLS abstraction layer internally but doesn't expose
it. Other applications only support a single TLS library, or use one of the
aforementioned larger frameworks, or are platform-specific to begin with, or of
course are written in a non-C/C++ language, most of which have some canonical
choice for TLS. But there are also many applications that have a set of TLS
backends just like this; it's just that nobody has gone ahead and abstracted
the pattern into a library, at least not a widespread one.
Amusingly, there is one TLS abstraction layer that Yuzu already bundles: the
one in ffmpeg. But it is missing some features that would be needed to use it
here (like reusing an existing socket rather than managing the socket itself).
Though, that does mean that the wiki's build instructions for Linux (and macOS
for some reason?) already recommend installing OpenSSL, so no need to update
those.
## Other APIs implemented
- Sockets:
- GetSockOpt(`SO_ERROR`)
- SetSockOpt(`SO_NOSIGPIPE`) (stub, I have no idea what this does on Switch)
- `DuplicateSocket` (because the SSL sysmodule calls it internally)
- More `PollEvents` values
- NSD:
- `Resolve` and `ResolveEx` (stub, good enough for Open Course World and
probably most third-party servers, but not first-party)
- SFDNSRES:
- `GetHostByNameRequest` and `GetHostByNameRequestWithOptions`
- `ResolverSetOptionRequest` (stub)
## Fixes
- Parts of the socket code were previously allocating a `sockaddr` object on
the stack when calling functions that take a `sockaddr*` (e.g. `accept`).
This might seem like the right thing to do to avoid illegal aliasing, but in
fact `sockaddr` is not guaranteed to be large enough to hold any particular
type of address, only the header. This worked in practice because in
practice `sockaddr` is the same size as `sockaddr_in`, but it's not how the
API is meant to be used. I changed this to allocate an `sockaddr_in` on the
stack and `reinterpret_cast` it. I could try to do something cleverer with
`aligned_storage`, but casting is the idiomatic way to use these particular
APIs, so it's really the system's responsibility to avoid any aliasing
issues.
- I rewrote most of the `GetAddrInfoRequest[WithOptions]` implementation. The
old implementation invoked the host's getaddrinfo directly from sfdnsres.cpp,
and directly passed through the host's socket type, protocol, etc. values
rather than looking up the corresponding constants on the Switch. To be
fair, these constants don't tend to actually vary across systems, but
still... I added a wrapper for `getaddrinfo` in
`internal_network/network.cpp` similar to the ones for other socket APIs, and
changed the `GetAddrInfoRequest` implementation to use it. While I was at
it, I rewrote the serialization to use the same approach I used to implement
`GetHostByNameRequest`, because it reduces the number of size calculations.
While doing so I removed `AF_INET6` support because the Switch doesn't
support IPv6; it might be nice to support IPv6 anyway, but that would have to
apply to all of the socket APIs.
I also corrected the IPC wrappers for `GetAddrInfoRequest` and
`GetAddrInfoRequestWithOptions` based on reverse engineering and hardware
testing. Every call to `GetAddrInfoRequestWithOptions` returns *four*
different error codes (IPC status, getaddrinfo error code, netdb error code,
and errno), and `GetAddrInfoRequest` returns three of those but in a
different order, and it doesn't really matter but the existing implementation
was a bit off, as I discovered while testing `GetHostByNameRequest`.
- The new serialization code is based on two simple helper functions:
```cpp
template <typename T> static void Append(std::vector<u8>& vec, T t);
void AppendNulTerminated(std::vector<u8>& vec, std::string_view str);
```
I was thinking there must be existing functions somewhere that assist with
serialization/deserialization of binary data, but all I could find was the
helper methods in `IOFile` and `HLERequestContext`, not anything that could
be used with a generic byte buffer. If I'm not missing something, then
maybe I should move the above functions to a new header in `common`...
right now they're just sitting in `sfdnsres.cpp` where they're used.
- Not a fix, but `SocketBase::Recv`/`Send` is changed to use `std::span<u8>`
rather than `std::vector<u8>&` to avoid needing to copy the data to/from a
vector when those methods are called from the TLS implementation.
2023-06-25 12:53:31 -07:00
german77
9e204b0308
core: hid: Allow to read bin files while switch controller is available
2023-06-24 18:59:55 -06:00
german77
4c2f8ac0eb
input_common: Dont try to read/write data from 3rd party controllers
2023-06-24 18:59:55 -06:00
liamwhite
fa8419f54e
Merge pull request #10859 from liamwhite/no-more-atomic-wait
...
general: remove atomic signal and wait
2023-06-23 09:27:14 -04:00
liamwhite
67778a69b0
Merge pull request #10842 from german77/native_mifare
...
input_common: Implement native mifare/skylander support for joycons/pro controller
2023-06-23 09:27:00 -04:00
Liam
217bb87494
vfs_real: lock concurrent accesses
2023-06-23 00:57:24 -04:00
bunnei
7a546be139
Merge pull request #10457 from Kelebek1/optimise
...
Remove memory allocations in some hot paths
2023-06-22 21:53:07 -07:00
bunnei
5b3787e8a3
Merge pull request #10806 from liamwhite/worst-fs-implementation-ever
...
vfs_real: misc optimizations
2023-06-22 21:46:50 -07:00
Liam
db40a2f430
general: remove atomic signal and wait
2023-06-22 09:25:23 -04:00
Kelebek1
c7430e51e3
Remove memory allocations in some hot paths
2023-06-22 08:05:10 +01:00
bunnei
72a469b967
Merge pull request #10086 from Morph1984/coretiming-ng-1
...
core_timing: Use CNTPCT as the guest CPU tick
2023-06-21 21:12:46 -07:00
bunnei
feb4104440
Merge pull request #10841 from liamwhite/math-is-hard
...
vfs_concat: fix offset calculation when not aligned to file boundary
2023-06-21 21:07:08 -07:00
Narr the Reg
b24451c571
input_common: Implement native mifare support
2023-06-21 17:54:58 -06:00
lat9nq
9357aaf637
time_zone_manager: Add null terminator
...
We aren't null-terminating this string after the copy, and we need to.
2023-06-20 15:54:28 -04:00
lat9nq
aedaa1aa19
time_zone_manager: Stop on comma
...
This is a deviation from the reference time zone implementation. The
actual code will set a pointer to the time zone name here, but for us we
have a limited number of characters to work with, and the name of the
time zone here could be larger than 8 characters.
We can make the assumption that time zone names greater than five
characters in length include a comma that denotes more data. Nintendo
just truncates that data for the name, so we can do the same.
time_zone_manager: Check for length of array
Just to be double sure that we never break past the array length,
directly compare against it.
2023-06-20 15:54:05 -04:00
Liam
e1d8e0d842
vfs_concat: verify short read
2023-06-19 09:47:05 -04:00
Liam
0faeac4fcb
vfs_concat: fix offset calculation when not aligned to file boundary
2023-06-18 22:21:29 -04:00
bunnei
6d055a21e3
Merge pull request #10797 from lat9nq/tzdb-patch
...
time: Various time zone fixes
2023-06-17 23:47:16 -07:00
lat9nq
e260539065
time_zone_service: Always write time zone rule data
...
Switch firmware will initialize this data even if the given parameters
are invalid. We should do the same.
2023-06-17 20:53:39 -04:00
lat9nq
59236a458c
k_thread: Use a mutex and cond_var to sync bool
...
std::atomic<bool> is broken on MinGW and causes deadlocks there.
Use a normal cond var in its stead.
2023-06-17 15:25:36 -04:00
liamwhite
4c7987cded
Merge pull request #10731 from german77/misc_fixes
...
service: nfc: Accuracy fixes
2023-06-16 18:18:24 -04:00
Liam
3191a97b22
vfs_real: ensure size cache is reset on write
2023-06-16 16:43:14 -04:00
Liam
b73cc6d51c
patch_manager: remove unnecessary GetSize calls
2023-06-16 16:29:10 -04:00
Liam
0f7b1f067f
vfs_real: misc optimizations
2023-06-16 16:29:06 -04:00
lat9nq
5173821cfa
time_zone_manager: Compare to the correct boolean
...
Reference implementation does not compare the booleans as we had them.
Use the correct ones as in the reference.
Also adds an assert. I have been made aware of a crash here and am
not able to reproduce currently.
2023-06-15 23:05:41 -04:00
lat9nq
2ed870c2a8
nx_tzdb: Correct Antarctica spelling
2023-06-15 23:03:54 -04:00
bunnei
c307399340
Merge pull request #10729 from liamwhite/windows-is-a-meme
...
vfs_real: add file LRU cache for open file limits
2023-06-14 18:32:25 -07:00
Narr the Reg
6ae2249f88
service: nfc: Read tag protocol only for nfc backend
2023-06-14 18:16:23 -06:00
Narr the Reg
05fcd73843
service: nfc: Accuracy fixes
2023-06-14 18:08:35 -06:00
Liam
863d5c23d0
vfs_real: require file existence on open
2023-06-13 17:22:47 -04:00
Liam
87087b768b
vfs_real: add simplified open file cache
2023-06-13 17:16:14 -04:00
bunnei
4abd6e552c
Merge pull request #10603 from lat9nq/tz-more-complete
...
core,common: Implement missing time zone data/computations
2023-06-13 13:28:45 -07:00
Liam
729216e5d8
vfs_real: lazily open files
2023-06-13 10:37:34 -04:00
Liam
efaaa6e0bf
vfs_real: add file LRU cache for open file limits
2023-06-13 10:37:34 -04:00
Liam
5b858c8306
core: decouple ARM interface from Dynarmic
2023-06-12 22:11:51 -04:00
Narr the Reg
707999d4c0
android: Add update support
2023-06-11 23:33:50 -06:00
Charles Lombardo
b1b9075f2d
android: Add proper homebrew check
2023-06-09 20:17:51 -04:00
liamwhite
82dace133c
Merge pull request #10623 from german77/backup
...
service: nfc: Add backup support
2023-06-08 21:54:12 -04:00
Liam
1b33ebdde2
nvnflinger: allow locking framerate during video playback
2023-06-08 01:15:51 -04:00
Morph
6b460f860e
nvdisp: Fix SingleCore frametime reporting
2023-06-07 22:04:02 -04:00
Morph
52a219cfe9
core_timing: Fix SingleCore cycle timer
2023-06-07 21:44:42 -04:00
Morph
1b83c7eab4
(wall, native)_clock: Add GetGPUTick
...
Allows us to directly calculate the GPU tick without double conversion to and from the host clock tick.
2023-06-07 21:44:42 -04:00
Morph
e25d41580b
time: Use compile time division for TimeSpanType conversion
2023-06-07 21:44:42 -04:00
Morph
2856fadaa0
core_timing: Use CNTPCT as the guest CPU tick
...
Previously, we were mixing the raw CPU frequency and CNTFRQ.
The raw CPU frequency (1020 MHz) should've never been used as CNTPCT (whose frequency is CNTFRQ) is the only counter available.
2023-06-07 21:44:42 -04:00
Morph
fb3bb63880
nvnflinger: Acquire lock prior to signaling the vsync variable
2023-06-07 21:44:42 -04:00
liamwhite
c99586dc47
Merge pull request #10591 from keve1227/localized-game-icons
...
Localize game icons
2023-06-07 14:03:28 -04:00
german77
4255ac45d1
service: nfc: Add backup support
2023-06-06 17:06:21 -06:00
bunnei
31ad92b287
Merge pull request #10508 from yuzu-emu/lime
...
Project Lime - yuzu Android Port
2023-06-05 21:43:43 -07:00
lat9nq
2556a6c78c
tz_manager: Fix comparison to wrong integer
2023-06-05 15:15:23 -04:00
lat9nq
c95977a29f
tz_manager: Implement missing transition times
...
time_zone_manager: Use s64 storage
2023-06-05 15:15:23 -04:00
lat9nq
021df7a2e1
tz_manager: Warn on unimplemented code
2023-06-05 15:15:23 -04:00
lat9nq
c82d11ff73
tz_manager: Fix character offset not advancing
2023-06-05 15:15:23 -04:00
lat9nq
95faad1413
tz_manager: Fix off-by-one error
2023-06-05 15:15:23 -04:00
lat9nq
60e705fd6d
time_zone_binary: Add zoneinfo data
...
Adds the basic time zone data for the system archive.
time_zone_binary: Implement full system archive
time_zone_binary: Remove unneeded template
tz_binary: Make GenerateFiles static
2023-06-05 15:15:23 -04:00
Narr the Reg
c934089969
time: Implement missing services
...
Implements GetTotalLocationNameCount LoadLocationNameList and
GetTimeZoneRuleVersion.
tz-manager: Fix sign issue
2023-06-05 15:15:11 -04:00
lat9nq
99d8774310
time_zone_manager: Implement go_ahead/go_back
2023-06-05 15:15:11 -04:00
lat9nq
bd9ab73ba8
tz_content_manager: Try the system time zone first
...
If we can't find the normal time zone string, try searching for the
closest one.
2023-06-05 15:15:11 -04:00
lat9nq
a379c50acc
time: Remove auto timezone consideration
...
GetTimeZoneString no longer reports a setting unique to yuzu, so we
can assume a valid timezone string in core.
2023-06-05 15:15:11 -04:00
lat9nq
5ecd76f619
time_manager: Don't offset RTC by system time zone
...
This causes the emulated system's universal time to be on the user's clock, and the user time to
be off if they set a time zone.
time_manager: Remove GetExternalRtcTime
2023-06-05 15:15:11 -04:00
lat9nq
6457b99586
tz_content_manager: Detect system time zone
...
Uses C++20 tzdb to determine the system timezone. The switch uses the
597 posix time zones, so this needs tests if the system time zone isn't
posix-compliant.
2023-06-05 15:15:11 -04:00
bunnei
1c624b1b29
Merge pull request #10594 from liamwhite/double-patch
...
fsp-srv: avoid patching romfs multiple times
2023-06-04 13:24:47 -07:00
Kevin Sundqvist Norlén
596dc7ebb7
Fix typo
...
Co-authored-by: liamwhite <liamwhite@users.noreply.github.com>
2023-06-03 21:31:44 +02:00
Liam
22d0bf11f1
fsp-srv: avoid patching romfs multiple times
2023-06-03 14:27:08 -04:00
Keve1227
0cadb7a705
Update Chinese NX language names
...
... as per the TLoZ: TotK icon files. Would this conflict with older games?
2023-06-03 17:23:14 +02:00
Keve1227
7f4c596af2
Pick game icon based on the configured system language
2023-06-03 17:13:24 +02:00
Liam
445948d297
romfs: use vfs_cached for romfs output
2023-06-03 08:56:59 -04:00
Liam
3fd364d3bb
vfs: add vfs_cached for romfs build
2023-06-03 08:50:54 -04:00
Narr the Reg
c4925fc96a
core: hid: Finish linking motion from virtual controllers
2023-06-03 00:05:56 -07:00
german77
8da09657e6
service: account: Save user profile folder on first user creation
2023-06-03 00:05:50 -07:00
bunnei
74e76421e6
android: native: Add support for custom Vulkan driver loading.
2023-06-03 00:05:31 -07:00
bunnei
56600190e4
core: frontend: Refactor GraphicsContext to its own module.
2023-06-03 00:05:31 -07:00
bunnei
af1855e0ad
android: frontend: Integrate key installation for SAF.
2023-06-03 00:05:29 -07:00
bunnei
4fb2d06a8c
core: crypto: key_manager: Add methods to reload & validate keys.
2023-06-03 00:05:29 -07:00
Liam
120b8baebb
device_memory: Use smaller virtual reservation size for compatibility with 39-bit paging
2023-06-03 00:05:28 -07:00
Kelebek1
f50f69f07c
Fix incorrect id check and potential out of bounds lookup
2023-05-31 19:10:00 +01:00
Liam
18088c67cd
vfs_concat: fix time complexity of read
2023-05-26 16:07:38 -04:00
bunnei
39fcbfead6
Merge pull request #10396 from german77/amiibo_write
...
input_common: Implement amiibo writing
2023-05-25 14:07:16 -07:00
bunnei
d9ed2052d8
Merge pull request #10415 from german77/amiibo-no-key
...
service: nfc: Remove encryption key requirement
2023-05-24 22:14:55 -07:00
Liam
d23a532bf4
k_memory_block_manager: remove auditing calls
2023-05-23 09:15:16 -04:00
Narr the Reg
6a217dd7a5
service: nfc: Remove encryption key requirement
2023-05-22 18:42:09 -06:00
Narr the Reg
60ba48c5e2
input_common: Implement amiibo writting
2023-05-21 21:09:20 -06:00
german77
5e95870b1f
service: hid: Use span instead of vector reference
2023-05-14 18:07:04 -06:00
Fernando S
789be8368f
Merge pull request #10244 from liamwhite/lower-upper
...
time: implement ContinuousAdjustmentTimePoint
2023-05-13 03:51:05 +02:00
bunnei
ad99f6eccc
Merge pull request #10237 from liamwhite/cache-storage
...
fs: stub cache storage
2023-05-12 16:42:17 -07:00
Liam
78b97867cb
time: implement ContinuousAdjustmentTimePoint
2023-05-11 21:05:27 -04:00
Liam
7e3c5fa38a
fs: adjust future save path
2023-05-11 17:30:30 -04:00
Liam
1fc6519671
am: stub CreateCacheStorage
2023-05-11 17:26:02 -04:00
Liam
6bee9352b7
fs: stub cache storage and fix params alignment
2023-05-11 17:23:28 -04:00
Liam
c59b0c9715
nvnflinger: fix Parcel serialization
2023-05-11 17:09:19 -04:00
Liam
b929ebf49e
nvnflinger: fix producer slot fence init
2023-05-11 17:08:14 -04:00
Narr the Reg
cc610d369c
service: nfc: Seed all random values
2023-05-09 17:54:07 -06:00
german77
e43d1c20d5
service: nfp: Allow to load with a different amiibo id
2023-05-09 17:51:59 -06:00
liamwhite
0365c544c5
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
63ab5ee887
core: hid: Allow to calibrate gyro sensor
2023-05-08 12:06:38 -06:00
bunnei
0b1cffbd9c
Merge pull request #10075 from Kelebek1/silence_nifm_spam
...
Silence network spam
2023-05-07 17:45:32 -07:00
liamwhite
11e88239ec
Merge pull request #10195 from german77/mutex
...
core: hid: Update motion on a better place
2023-05-07 19:06:10 -04:00
Liam
174bad7011
vfs_layered: avoid n^2 lookup in layeredfs building
2023-05-07 19:03:41 -04:00
german77
62acd50c0b
core: hid: Update motion on a better place
2023-05-07 17:01:57 -06:00
Fernando Sahmkow
134c14f089
Address feedback, add CR notice, etc
2023-05-07 23:46:12 +02:00
Fernando Sahmkow
62295b5069
Settings: add option to enable / disable reactive flushing
2023-05-07 23:46:12 +02:00
Fernando Sahmkow
6bc60f78d9
GPU: Add Reactive flushing
2023-05-07 23:46:12 +02:00
Liam
b0c0344388
vfs_vector: avoid n^2 lookup in layeredfs building
2023-05-07 16:50:35 -04:00
bunnei
36a670a4c9
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
12c4c09b3f
Merge pull request #10125 from lat9nq/vsync-select
...
configuration: Expose separate swap present modes
2023-05-06 21:55:39 -07:00
bunnei
fdb3652f12
Merge pull request #10174 from german77/motriod
...
input_common: Add experimental motion to button
2023-05-06 21:40:20 -07:00
liamwhite
1911b50d34
Merge pull request #10167 from german77/motion_preview
...
yuzu: Add motion preview to controller input
2023-05-06 23:09:55 -04:00
german77
7b41e71877
input_common: Add experimental motion to button
2023-05-05 22:49:56 -06:00
Narr the Reg
2a36d667c9
service: nfc: Merge device interfaces and create the device manager
2023-05-05 22:02:59 -06:00
Narr the Reg
53ec77c62c
input_common: Add property to invert an axis button
2023-05-05 17:18:35 -06:00
Narr the Reg
94c16132ba
yuzu: Add motion preview to controller input
2023-05-05 13:53:38 -06:00
german77
dbef75ecdd
core: hid: Fix state of capture and home buttons
2023-05-04 22:36:59 -06:00
bunnei
6f10c3fcd8
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
dd78368441
Merge pull request #10117 from liamwhite/sync-register
...
kernel: match calls to Register and Unregister
2023-05-03 09:07:19 -07:00
Morph
069637f4ff
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
2cca81495e
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
7bffe8ce02
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
581d8f34ee
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
bdaf10ec9e
settings: rename extended memory layout to unsafe, move from general to system
2023-04-30 14:24:22 -04:00
Liam
370a0526a5
kernel: remove general boost lists
2023-04-29 22:11:32 -04:00
Liam
7afcc29ac8
kernel: match calls to Register and Unregister
2023-04-29 21:52:26 -04:00
german77
7ed3f00c30
core: service: Add FunctionInfoTyped to allow expanding existing interfaces
2023-04-25 23:36:24 -06:00
Fernando S
fa3ff7a6d5
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
f8d2ab4660
service: nfc: Create mifare interface
2023-04-23 23:28:09 -06:00
Narr the Reg
db242ac13f
service: nfc: Create interface
2023-04-23 23:28:09 -06:00
Fernando Sahmkow
eeffe68b7f
Accuracy Normal: reduce accuracy further for perf improvements in Project Lime
2023-04-23 22:03:44 +02:00
Kelebek1
325a8febfc
Silence nifm spam
2023-04-22 14:29:58 +01:00
bunnei
afe8b9f018
Merge pull request #10076 from german77/TryPopMyFriend
...
core: am: Demote TryPopFromFriendInvitationStorageChannel Log level
2023-04-21 23:15:07 -07:00
bunnei
e7ce0db272
Merge pull request #10060 from german77/no_dead
...
core: hid: Remove deadzone of virtual controller
2023-04-21 23:13:21 -07:00
german77
1ec8e38f3f
core: am: Demote TryPopFromFriendInvitationStorageChannel Log level
2023-04-21 22:35:45 -06:00
FengChen
ea68bfba5d
core: audio: return result when audio_out initialize failed
2023-04-16 12:31:54 +08:00
german77
18bb76b6a0
core: hid: Remove deadzone of virtual controller
2023-04-15 18:41:09 -06:00
Narr the Reg
5de37e921c
service: nfp: Implement debug Interface
2023-04-14 17:03:58 -06:00
Narr the Reg
c8ed98bb1c
service: nfp: Implement system interface
2023-04-14 17:03:57 -06:00
Narr the Reg
52447e1b58
service: nfp: Use an unique interface
2023-04-13 22:24:27 -06:00
Liam
07d060c2d4
kernel: move more memory to application in 8GB arrangement
2023-04-09 19:50:27 -04:00
Liam
bfd120b543
kernel: switch extended memory setting to 8GB arrangement
2023-04-08 17:47:26 -04:00
bunnei
9ff6310097
Merge pull request #10022 from liamwhite/gcc-13
...
general: fixes for gcc 13
2023-04-08 00:09:06 -07:00
Liam
bbc9f0d3e9
general: fixes for gcc 13
2023-04-02 19:02:04 -04:00
german77
4c562a2c8c
service: hid: Fix handle validation
2023-04-02 02:21:54 -06:00
bunnei
3eb8207e08
Merge pull request #10020 from merryhime/update-dynarmic
...
externals: Update dynarmic to 6.4.6
2023-04-01 21:57:45 -07:00
bunnei
a09fcccb72
core: arm_dynarmic_32: Update SaveContext/LoadContext.
2023-04-01 17:03:08 -07:00
liamwhite
27f8a0af68
Merge pull request #10006 from german77/profile_select
...
service: am: Improve profile select applet
2023-04-01 09:49:22 -04:00
liamwhite
7aaa8bf6cd
Merge pull request #9997 from german77/cancel_controller
...
applet: controller: Implement cancel button
2023-04-01 09:49:08 -04:00
liamwhite
1ab4527a5e
Merge pull request #9999 from german77/new_hid_hurra
...
service: hid: Implement SetNpadJoyAssignmentModeSingleWithDestination
2023-04-01 09:48:53 -04:00
bunnei
6f649f250f
Merge pull request #10005 from liamwhite/kernel-atomics
...
kernel: fix unbounded stack usage in atomics
2023-04-01 01:54:36 -07:00
german77
a1b66df775
applet: controller: Implement cancel button
2023-03-30 07:49:44 -06:00
german77
9ffeb00747
service: hid: Implement SetNpadJoyAssignmentModeSingleWithDestination
...
Used by Let's Get Fit
2023-03-29 22:03:49 -06:00
Narr the Reg
0585865c9f
service: am: Improve profile select applet
2023-03-29 08:53:19 -06:00
liamwhite
3b139a811e
Merge pull request #9505 from liamwhite/request-exit
...
applets: implement RequestExit
2023-03-29 09:11:34 -04:00
Liam
7121903f4a
kernel: fix unbounded stack usage in atomics
2023-03-28 22:28:27 -04:00
liamwhite
da0b368e12
Merge pull request #10003 from german77/disconnect
...
service: hid: Silence warning on MergeSingleJoyAsDualJoy
2023-03-28 09:09:47 -04:00
Morph
e67edd4bb7
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
c1e8a0a3e6
service: hid: Silence warning on MergeSingleJoyAsDualJoy
2023-03-27 13:25:15 -06:00
liamwhite
c0e0237b21
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
a7965dbc95
service: nfp: Add plain amiibo support
2023-03-26 14:26:36 -06:00
Liam
eb8abae7eb
qt: implement RequestExit for applets
2023-03-25 14:49:43 -04:00
Liam
46f5e0a276
applets: implement RequestExit
2023-03-25 12:44:26 -04:00
liamwhite
f0b7390ae3
Merge pull request #9981 from german77/nfp_connect
...
nfc: Initialize device when controller is connected
2023-03-24 10:53:05 -04:00
Liam
6eaef51cf2
memory: rename global memory references to application memory
2023-03-23 20:28:47 -04:00
liamwhite
2b74ab00aa
Merge pull request #9964 from liamwhite/typed-address
...
kernel: use KTypedAddress for addresses
2023-03-23 10:00:19 -04:00
Liam
156516e399
kernel: use KTypedAddress for addresses
2023-03-22 09:35:16 -04:00
Narr the Reg
9704f1bc7e
nfc: Initialize device when controller is connected
2023-03-21 20:09:36 -06:00
Liam
48f1221b35
kernel: fix LOG_TRACE in ipc
2023-03-19 10:02:20 -04:00
Narr the Reg
8a1c405ce3
service: nfp: Replace crc function with boost equivalent
2023-03-16 17:47:32 -06:00
Narr the Reg
ab37f2bda3
service: nfp: Close app area and recreate crc
2023-03-15 17:01:06 -06:00
Narr the Reg
d7f58e6ecb
service: nfp: Convert mii colors to v3
2023-03-15 17:01:05 -06:00
Narr the Reg
aeb65824a7
service: nfp: Actually write correct crc
2023-03-14 23:42:41 -06:00
Liam
9d5747fb71
kernel: additional style fixes to KThread, KProcess
2023-03-12 22:10:27 -04:00
Liam
6828f66b42
kernel: fix clang build
2023-03-12 22:10:27 -04:00
Liam
a0867d72ed
kernel: remove unnecessary finalize calls
2023-03-12 22:10:27 -04:00
Liam
b8da5b73b2
kernel: convert KProcess to new style
2023-03-12 22:09:27 -04:00
Liam
46d09ae364
kernel: convert KThread to new style
2023-03-12 22:09:09 -04:00
Liam
d0e11c27d9
kernel: prefer std::addressof
2023-03-12 22:09:09 -04:00
Liam
24077ea160
kernel: convert KResourceLimit
2023-03-12 22:09:09 -04:00
Liam
cf0b407daa
kernel: remove kernel_
2023-03-12 22:09:09 -04:00
Liam
3280ebac7e
kernel: remove gratitutous attribute usage
2023-03-12 22:09:09 -04:00
Liam
0c6375446c
kernel/svc: convert to new style
2023-03-12 22:09:08 -04:00
Liam
767059b620
kernel: convert miscellaneous
2023-03-12 22:06:53 -04:00
Liam
7893136e74
kernel: conver KScopedLock, KScopedResourceReservation, KSessionRequest, KSharedMemory, KSpinLock
2023-03-12 22:06:53 -04:00
Liam
d41368663b
kernel: convert KAbstractSchedulerLock
2023-03-12 22:06:53 -04:00
Liam
8c137e234f
kernel: convert KMemoryLayout, KMemoryRegion*, KPageTableSlabHeap, KPriorityQueue
2023-03-12 22:06:53 -04:00
Liam
c72afbd1db
kernel: move KMemoryLayout for NX board
2023-03-12 22:06:53 -04:00
Liam
842f5a4ced
kernel: remove KLinkedList
2023-03-12 22:06:53 -04:00
Liam
01e79d9399
kernel: convert KConditionVariable, KLightConditionVariable, KLightLock
2023-03-12 22:06:53 -04:00
Liam
3c93638acf
kernel: convert KPort, KSession
2023-03-12 22:06:53 -04:00
Liam
6b0b94dc27
kernel: convert GlobalSchedulerContext, KAddressArbiter, KScopedSchedulerLockAndSleep, KThreadQueue to new style
2023-03-12 22:06:53 -04:00