Commit graph

17932 commits

Author SHA1 Message Date
german77
b899d15111 arp: Use proper names, update to 12.x 2021-04-08 19:40:25 -06:00
german77
0a1517a771 caps_u: Update to 12.x 2021-04-08 19:40:25 -06:00
german77
315ab28dcd caps_a: Update to 12.x 2021-04-08 19:40:24 -06:00
german77
640a637105 bpc: Use proper names 2021-04-08 19:40:24 -06:00
german77
2a3b345ef9 bcat_module: Update to 12.x 2021-04-08 19:40:24 -06:00
german77
8036ca4fbb codecctl: Use proper names 2021-04-08 19:40:24 -06:00
german77
1519c55628 audren_u: Use proper names 2021-04-08 19:40:24 -06:00
german77
0ca06b28d4 audren_a: Use proper names 2021-04-08 19:40:24 -06:00
german77
9b1779049d audrec_u: Use proper names, update to 12.x 2021-04-08 19:40:24 -06:00
german77
05901c6249 audrec_a: Use proper names 2021-04-08 19:40:24 -06:00
german77
68ffa689ef audout_u: Use proper names 2021-04-08 19:40:24 -06:00
german77
738c801cab audout_a: Use proper names 2021-04-08 19:40:24 -06:00
german77
b4837eae0e audin_u: Use proper names 2021-04-08 19:40:24 -06:00
german77
2c78946a1f audin_a: Use proper names 2021-04-08 19:40:24 -06:00
bunnei
f82684b920 Merge pull request #6155 from ameerj/kernel-12-rescnt
kernel: Increase event and session counts
2021-04-08 18:21:00 -07:00
bunnei
a1689d896d Merge pull request #6157 from Morph1984/am-update-12.x
service: am: Update service function tables
2021-04-08 16:37:59 -07:00
bunnei
c6fe54ec26 Merge pull request #6062 from ameerj/auto-stub
service: Add a toggle for auto stub fallback
2021-04-08 15:32:41 -07:00
Markus Wick
2953f841dd externals: Search for shared opus installation.
We had used conan for opus before, but there was a bug in the AVX detection.
However we still had the Findopus.cmake file within the repository, but not used.

This patch reenables the Findopus helper and prefer the system wide installation of opus.
2021-04-08 23:49:32 +02:00
bunnei
f90f9efda0 Merge pull request #6145 from lat9nq/nvhost_empty_memcpy
nvhost_nvdec_common: Avoid memcpy with null pointers
2021-04-08 13:23:05 -07:00
Morph
b5f17081d0 service: time: Setup the network clock with the local clock context
Setting the network time allows some time based events using the network clock to not reset.
2021-04-08 13:26:38 -04:00
bunnei
1ecfc8c501 Merge pull request #6154 from lioncash/svcrange2
svc: Expand SVC tables
2021-04-08 09:21:55 -07:00
Morph
19b6ca175f service: hid: Stub SetAnalogStickUseCenterClamp
- Used by eBASEBALLパワフルプロ野球2020
2021-04-08 03:41:06 -04:00
bunnei
0fdb95b191 Merge pull request #6160 from Morph1984/fs-update-12.x
service: fs: Update service function tables
2021-04-07 20:54:42 -07:00
Morph
a2fbcd2831 service: time: Fix CalculateStandardUserSystemClockDifferenceByUser
CalculateStandardUserSystemClockDifferenceByUser passes in the ClockSnapshots through 2 input buffers and not as raw arguments. Fix this by reading the 2 input buffers instead of popping raw arguments.
2021-04-07 23:34:14 -04:00
bunnei
d95f1ee25d Merge pull request #6143 from lat9nq/nvhost_null_memcpy
nvhost_ctrl_gpu: Avoid sending null pointer to memcpy
2021-04-07 16:50:22 -07:00
bunnei
58a4a78b03 Merge pull request #6159 from Morph1984/acc-update-12.x
service: acc: Update service function tables
2021-04-07 14:37:59 -07:00
Markus Wick
c529592f63 video_core: Use a CV for blocking commands.
There is no need for a busy loop here. Let's just use a condition variable to save some power.
2021-04-07 22:38:52 +02:00
Markus Wick
48492bbb9b video_core/gpu_thread: Keep the write lock for allocating the fence.
Else the fence might get submited out-of-order into the queue, which makes testing them pointless.
Overhead should be tiny as the mutex is just moved from the queue to the writing code.
2021-04-07 22:38:52 +02:00
Markus Wick
37ae463f9e video_core/gpu_thread: Implement a ShutDown method.
This was implicitly done by `is_powered_on = false`, however the explicit method allows us to block until the GPU is actually gone.

This should fix a race condition while removing the other subsystems while the GPU is still active.
2021-04-07 22:38:52 +02:00
Markus Wick
b529aba9ce common/threadsafe_queue: Provide Wait() method.
It shall block until there is something to consume in the queue.

And use it for the GPU emulation instead of the spin loop.
This is only in booting the emulator, however in BOTW this is the case for about 1 second.
2021-04-07 22:38:52 +02:00
bunnei
7b2593bf33 Merge pull request #6130 from degasus/better_assert_handling
common: Move assert failure handling into a cpp file.
2021-04-07 13:35:41 -07:00
bunnei
0faeb989ae Merge pull request #6153 from lioncash/svcrange
process_capability: Handle extended SVC range
2021-04-07 13:01:40 -07:00
bunnei
0b402075bf Merge pull request #6161 from Morph1984/audio-update-12.x
service: audio: Update service function tables
2021-04-07 10:39:05 -07:00
Morph
8e0af1dfc7 hwopus: Update to 12.x 2021-04-07 02:57:39 -04:00
Morph
7459159160 IFile: Update to 12.x 2021-04-07 02:49:19 -04:00
Morph
919ae391b6 fsp-srv: Update to 12.x 2021-04-07 02:46:29 -04:00
Morph
80c77942b0 dauth_o: Update to 11.x 2021-04-07 02:15:55 -04:00
Morph
6bf678129e acc_u1: Update to 12.x 2021-04-07 02:15:55 -04:00
Morph
a08f4eb309 acc_su: Update to 12.x 2021-04-07 02:15:55 -04:00
german77
db13bf47f3 hid: Update service function tables 2021-04-07 01:15:38 -05:00
Morph
7918ed83c0 ISelfController: Update to 11.x 2021-04-07 02:00:19 -04:00
Morph
147cda9523 IApplicationFunctions: Update to 11.x 2021-04-07 01:59:35 -04:00
Morph
19dd87d858 IDebugFunctions: Update to 12.x 2021-04-07 01:53:04 -04:00
Morph
502bef82a9 ICommonStateGetter: Update to 12.x 2021-04-07 01:53:04 -04:00
Morph
a0dade1318 IGlobalStateController: Update to 12.x 2021-04-07 01:53:04 -04:00
Morph
8d7f255da5 IHomeMenuFunctions: Update to 12.x 2021-04-07 01:53:04 -04:00
Lioncash
a875393fdb Amend bizarre clang-format suggestions 2021-04-07 01:52:08 -04:00
Lioncash
1af23a44b4 k_scoped_scheduler_lock_and_sleep: Mark class as [[nodiscard]]
Prevents logic bugs from slipping through.
2021-04-07 01:45:04 -04:00
Lioncash
e295cb0474 k_scoped_lock: delete copy and move assignment operators
If we delete the copy and move constructor, we should also be deleting
the copy and move assignment operators (and even if this were intended,
it would be pretty odd to not document why it's done this way).
2021-04-07 01:25:57 -04:00
Lioncash
923efb53d7 k_scoped_lock: Mark class as [[nodiscard]]
Prevents logic bugs of the kind described in the previous commit from
slipping through.
2021-04-07 01:23:08 -04:00