summaryrefslogtreecommitdiff
path: root/src/core
AgeCommit message (Collapse)Author
2021-06-13Merge pull request #6452 from german77/sixaxis_firmware_stubMorph
hid: Stub IsFirmwareUpdateAvailableForSixAxisSensor
2021-06-11hid: Stub IsFirmwareUpdateAvailableForSixAxisSensorgerman77
2021-06-11Merge pull request #6422 from FernandoS27/i-am-the-senateMai M
Implement/Port Fastmem from Citra to Yuzu
2021-06-11Merge pull request #6443 from Morph1984/k-light-condition-variablebunnei
kernel: KLightConditionVariable: Update implementation to 12.x
2021-06-11General: Add settings for fastmem and disabling adress space check.FernandoS27
2021-06-11core: Make use of fastmemMarkus Wick
2021-06-10Merge pull request #6445 from degasus/fix_ubsnbunnei
Fix GCC undefined behavior sanitizer.
2021-06-11kernel: Unconditionally set thread state when appropriateMorph
2021-06-11kernel: KLightConditionVariable: Update implementation to 12.xMorph
Updates the implementation of KLightConditionVariable to FW 12.x
2021-06-10Fix GCC undefined behavior sanitizer.Markus Wick
* Wrong alignment in u64 LOG_DEBUG -> memcpy. * Huge shift exponent in stride calculation for linear buffer, unused result -> skipped. * Large shift in buffer cache if word = 0, skip checking for set bits. Non of those were critical, so this should not change any behavior. At least with the assumption, that the last one used masking behavior, which always yield continuous_bits = 0.
2021-06-10hle: service: sm: Remove redundant session reservation, etc.bunnei
- We were double-reserving, causing us to run out of sessions in Pokemon Sword & Shield.
2021-06-10hle: service: Increase arbitrary max sessions limit.bunnei
- Pokemon Sword/Shield are still hitting this for some reason, causing an svcBreak.
2021-06-09hle: kernel: KClientPort: Add an assert for session count.bunnei
- Prevents us from over decrementing num_sessions.
2021-06-09hle: service: sm: Fix GetService setup of session & port.bunnei
2021-06-09hle: service: Use correct size for ServerSessionCountMax.bunnei
2021-06-09hle: kernel: KServerSession: Fix client disconnected.bunnei
- Prevents a cloned session's handler from being overwritten by another disconnected session. - Fixes session handler nullptr asserts with Pokemon Sword & Shield.
2021-06-09kernel: svc: Add missing error check to CancelSynchronization.bunnei
- Avoids a potential crash if the handle is invalid, and also makes this code accurate to real kernel behavior.
2021-06-09hle: service: Increase arbitrary max sessions limit.bunnei
- Pokemon Sword/Shield are still hitting this for some reason, causing an svcBreak.
2021-06-08hle: kernel: KServerSession: Work-around scenario where session is closed ↵bunnei
too early.
2021-06-07hle: kernel: hle_ipc: Ensure SessionRequestHandler is valid.bunnei
2021-06-07hle: kernel: Remove service thread manager and use weak_ptr.bunnei
- We no longer need to queue up service threads to be destroyed. - Fixes a race condition where a thread could be destroyed too early, which caused a crash in Pokemon Sword/Shield.
2021-06-06Merge pull request #6414 from bunnei/fix-service-threadsbunnei
hle: kernel: Refactor to allocate a ServiceThread per service handler.
2021-06-06hle: kernel: KServerSession: Use ASSERT_MSG where appropriate.bunnei
2021-06-06hle: kernel: k_server_session: Return service thread by strong pointer.bunnei
2021-06-06hle: kernel: k_server_session: Ensure service thread is valid before ↵bunnei
dereference.
2021-06-06hle: kernel: hle_ipc: Use default destructor for SessionRequestManager.bunnei
2021-06-06hle: kernel: KAutoObjectWithListContainer: Use boost::instrusive::rbtree.bunnei
- Fixes some crashes introduced by our common intrusive red/black tree impl.
2021-06-05result: Add [[nodiscard]] specifiers where applicableLioncash
The result code classes are used quite extensively throughout both the kernel and service HLE code. We can mark these member functions as [[nodiscard]] to prevent a few logic bugs from slipping through.
2021-06-04hle: kernel: Refactor to allocate a ServiceThread per service handler.bunnei
- Previously, we would allocate a thread per session, which adds new threads on CloneCurrentObject. - This results in race conditions with N sessions queuing requests to the same service interface. - Fixes Pokken Tournament DX crashes/softlocks, which were regressed by #6347.
2021-06-03Merge pull request #6389 from german77/Analog_button_fixbunnei
input_common: Analog button, use time based position
2021-06-02fsp-srv: Replace one last instance of RESULT_SUCCESSMorph
2021-06-02fspsrv: Implement DisableAutoSaveDataCreation (#6355)Chloe
- Used by Mii Edit
2021-06-02general: Replace RESULT_UNKNOWN with ResultUnknownMorph
Transition to PascalCase for result names.
2021-06-02general: Replace RESULT_SUCCESS with ResultSuccessMorph
Transition to PascalCase for result names.
2021-05-31common_funcs: Move R_ macros to result.hLioncash
These macros all interact with the result code type, so they should ideally be within this file as well, so all the common_funcs machinery doesn't need to be pulled in just to use them.
2021-05-30Merge pull request #6385 from degasus/save_memory_accessbunnei
core/memory: Check our memory fallbacks for out-of-bound behavior.
2021-05-30Merge pull request #6377 from lioncash/pointbunnei
common: Extract Point struct into common
2021-05-29Merge pull request #6387 from lioncash/class-tokenbunnei
k_class_token: Use variable templates where applicable
2021-05-30input_common: Analog button, use time based position instead of frequent updatesgerman77
2021-05-29Merge pull request #6374 from Morph1984/swkbd-textcheck-encodingMai M
applets/swkbd: Only read the text check message on Failure/Confirm
2021-05-29Merge pull request #6364 from german77/stub-lp2pMai M
ldn: Add and stub lp2p:sys lp2p:app INetworkServiceMonitor INetworkService Mario Kart Live: Home Circuit needs lp2p:sys lp2p:app INetworkServiceMonitor INetworkService to be able to progress. Note: The game still fails to boot from unimplemented LDN and BSD services.
2021-05-29Merge pull request #6379 from degasus/update_dynarmicbunnei
externals: Update dynarmic.
2021-05-29k_class_token: Use variable templates where applicableLioncash
Same behavior, less code.
2021-05-29Merge pull request #6384 from lioncash/virtualbunnei
kernel: Add missing override specifiers
2021-05-29Merge pull request #6382 from lioncash/nullbunnei
k_thread: Move dereference after null check in Initialize()
2021-05-29core/memory: Check our memory fallbacks for out-of-bound behavior.Markus Wick
This makes it by far harder to crash yuzu. Also implement the 48bit masking of AARCH64 while touching this code.
2021-05-29Merge pull request #6373 from bunnei/use-slabheap-tlsbunnei
hle: kernel: KSlabHeap: Allow host or guest allocations.
2021-05-29core/arm_interface: Improve the performance of memory fallbacks.Markus Wick
We just create one memory subsystem. This is a constant all the time. So there is no need to call the non-inlined parent.Memory() helper on every callback.
2021-05-29kernel: Add missing override specifiersLioncash
Over the course of the kernel refactoring a tiny bit of missing overrides slipped through review, so we can add these. While we're at it, we can remove redundant virtual keywords where applicable as well.
2021-05-29Fix two GCC 11 warnings: Unneeded copies.Markus Wick
std::move created an unneeded copy. iterating without reference also created copies.