Hamish Milne
9525d81344
More base-derived fixes
2020-02-13 17:42:07 +08:00
Hamish Milne
996aba39fe
Correct exports; add some file serialization; fix service base object serialization
2020-02-13 17:42:07 +08:00
Hamish Milne
116d22d562
Refactor out the wakeup_callback function pointer
2020-02-13 17:42:05 +08:00
Hamish Milne
7019561fd5
Bind NWM_UDS service in the constructor
2020-02-13 17:42:05 +08:00
Hamish Milne
e4afa8e512
Make the tests pass
2020-02-13 17:42:04 +08:00
Hamish Milne
cf985631e0
Minor tidying up
2020-02-13 17:41:27 +08:00
Hamish Milne
2d2c7218ef
Serialize CECD, CFG services
2020-02-13 17:41:25 +08:00
Hamish Milne
ef2e503281
Serialize QTM, Y2R services
2020-02-13 17:41:24 +08:00
Hamish Milne
92857efca4
Serialize PTM service
2020-02-13 17:41:24 +08:00
Hamish Milne
f5e2f873b0
Serialize NWM service
2020-02-13 17:41:24 +08:00
Hamish Milne
571b1062f0
Serialize NIM, PS, PXI, SOC, SSL services
2020-02-13 17:41:23 +08:00
Hamish Milne
2409ee39cb
Serialize IR, MVD, NDM, NEWS, NFC
2020-02-13 17:41:23 +08:00
Hamish Milne
3d6e372f96
More clang format fixes. Really need to standardise the version of this
2020-02-13 17:41:23 +08:00
Hamish Milne
01ec2e8a67
Serialize MIC service
2020-02-13 17:41:22 +08:00
Hamish Milne
e3c0211b74
Fix clang format
2020-02-13 17:41:22 +08:00
Hamish Milne
eb67167b7c
Serialize IR service
2020-02-13 17:41:22 +08:00
Hamish Milne
8bd3e8cd27
Serialize HTTP service
2020-02-13 17:41:22 +08:00
Hamish Milne
74361fa3fb
Serialize HID service
2020-02-13 17:41:21 +08:00
Hamish Milne
30494c06a4
Serialize GSP service
2020-02-13 17:41:21 +08:00
Hamish Milne
d041901a30
Some more CI fixes
2020-02-13 17:41:20 +08:00
Hamish Milne
c7106e232f
Fix a bug on mingw
2020-02-13 17:41:16 +08:00
Hamish Milne
7b846ffa98
clang-format fixes
2020-02-13 17:39:15 +08:00
Hamish Milne
d482fb359c
Attempting to fix mingw on windows
2020-02-13 17:38:25 +08:00
Hamish Milne
3ed8d95866
Serialize FS service; some compiler fixes
2020-02-13 17:38:24 +08:00
Hamish Milne
d1096de245
Added FRD service serialization
2020-02-13 17:38:24 +08:00
Hamish Milne
4354179156
Added ERR service serialization
2020-02-13 17:38:23 +08:00
Hamish Milne
452ae2e371
Added DSP service serialization
2020-02-13 17:38:23 +08:00
Hamish Milne
30fe2bfe38
Added DLP service serialization
2020-02-13 17:38:23 +08:00
Hamish Milne
a0c3b91785
Added CSND serialization
2020-02-13 17:38:23 +08:00
Hamish Milne
17b9cbefef
CAM service serialization
2020-02-13 17:38:22 +08:00
Hamish Milne
1185d62792
BOSS service serialization
2020-02-13 17:38:22 +08:00
Hamish Milne
5265c79056
APT service serialization
2020-02-13 17:38:21 +08:00
Hamish Milne
3e752002c4
Replace g_kernel with Core::Global etc.
2020-02-13 17:38:21 +08:00
Hamish Milne
e707685c2a
Serialize AM services
2020-02-13 17:38:20 +08:00
Hamish Milne
89e4e49a63
Finished AC and ACT service serialization
2020-02-13 17:38:20 +08:00
Hamish Milne
3fd5c431f1
Service serialization framework; done AC
2020-02-13 17:38:20 +08:00
Hamish Milne
ac0337d8df
Started IPC services serialization
2020-02-13 17:38:19 +08:00
Hamish Milne
7a5bde0b44
Serialize service manager, server prt
2020-02-13 17:38:19 +08:00
Hamish Milne
f79c9668a3
Added shader state; WIP kernel objects
2020-02-13 17:38:10 +08:00
vvanelslande
e1e136d72f
service/mic: actually use the specified device
2019-11-11 17:15:10 -05:00
James Rowe
223bfc9a2a
Merge pull request #4847 from zhaowenlan1779/ipc-debugger
...
core, citra_qt: IPC Recorder
2019-09-21 00:04:07 -06:00
James Rowe
7bfd829c77
Merge pull request #4893 from wwylele/nfc-state
...
NFC: extract frontend-facing tag state
2019-09-13 08:59:51 -06:00
vitor-k
6e3652d15b
Struct vs class declaration and unused variable
2019-09-02 22:45:38 -03:00
Valentin Vanelslande
2959b002cd
applet_manager: remove the "we are going to disable loading LLE applets before further fixes are done" comments
...
LLE Applets are enabled again in #4500 , but @wwylele didn't remove these comments.
2019-08-29 20:41:16 -05:00
zhupengfei
f40232adc9
service/sm: Add service name retrival based on client port ID
...
This is for displaying the service names. This function is only used in the frontend, because Recorder which is in the Kernel cannot and should not have access to SM in the System.
2019-08-20 03:07:30 +08:00
zhupengfei
efd69e1315
kernel, service: Add HLE request/reply recording
...
Pretty much the same as LLE requests, the 'translate' part is chosen. A function is added to the context class to record requests that involves unimplemented HLE functions.
2019-08-20 03:07:29 +08:00
zhupengfei
71e0c40310
service: Add service function name lookup based on header code
...
This is for displaying the function name for HLE requests. Probably it is possible to do the same for LLE ones but it would require having the HLE handlers available even when not using them, which doesn't seem to make sense and is more of a hack than a proper solution in my opinion.
2019-08-20 03:07:25 +08:00
Weiyi Wang
8b8111b425
NFC: extract frontend-facing tag state
...
Added a new state amiibo_in_range. This state is akin to the real world
physical relationship between a 3DS machine and an amiibo, which is
independent from the service state (or even the machine is powered on or
not). The service state nfc_tag_state is then synchronized with this
physical state on every potential point when the state changes. This
solves the issue where user might load an amiibo before NFC service
initializes, or remove an amiibo after NFC service shutdown, which
previously causes inconsistent state change.
Also removed std::atomic on nfc_tag_state, because
1. It is already protected by g_hle_lock
2. It wasn't properly used in the code anyway. For example, there are
many double loading on this variable, which effectively make it
non-atomic.
2019-08-17 21:56:12 -04:00
James Rowe
00eeaf0e9c
Merge pull request #4882 from jroweboy/frametime-logging
...
Frametime logging for tracking performance over time
2019-08-16 19:33:53 -06:00
James Rowe
331a9fc12b
Change over to std::shared_ptr
2019-08-14 21:30:49 -06:00