aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.HLE
AgeCommit message (Collapse)Author
2023-06-04Replacing ZbcColorArray with Array4<uint> (#5210)1.1.864Marco Carvalho
* Related "if/else if" statements should not have the same condition * replacing ZbcColorArray with Array4<uint> * fix alignment
2023-06-04Check KeyboardMode in GUI (#4343)1.1.862WilliamWsyHK
* Update SoftwareKeyboard to send KeyboardMode to UI * Update GTK UI to check text against KeyboardMode * Update Ava UI to check text against KeyboardMode * Restructure input validation * true when text is not empty * Add English validation text for SoftwareKeyboardMode * Add Chinese validation text for SoftwareKeyboardMode * Update base on feedback --------- Co-authored-by: TSR Berry <20988865+TSRBerry@users.noreply.github.com>
2023-05-25Fix mod names (#5088)1.1.823TSRBerry
2023-05-21ServerBase thread safety (#4577)1.1.813jhorv
* Add guard against ServerBase.Dispose() being called multiple times. Add reset event to avoid Dispose() being called while the ServerLoop is still running. * remove unused usings * rework ServerBase to use one collection each for sessions and ports, and make all accesses thread-safe. * fix Logger call * use GetSessionObj(int) instead of using _sessions directly * move _threadStopped check inside "dispose once" test * - Replace _threadStopped event with attempt to Join() the ending thread (if that isn't the current thread) instead. - Use the instance-local _selfProcess and (new) _selfThread variables to avoid suggesting that the current KProcess and KThread could change. Per gdkchan, they can't currently, and this old IPC system will be removed before that changes. - Re-order Dispose() so that the Interlocked _isDisposed check is the last check before disposing, to increase the likelihood that multiple callers will result in one of them succeeding. * code style suggestions per AcK77 * add infinite wait for thread termination
2023-05-13audio: sdl2: Do not report 5.1 if the device doesn't support it (#4908)1.1.797Mary
* amadeus: adjust VirtualDevice channel configuration reporting with HardwareDevice * audio: sdl2: Do not report 5.1 if device doesn't support it SDL2 5.1 to Stereo conversion is terrible and make everything sound quiet. Let's not expose 5.1 if not truly supported by the device.
2023-05-09IPC - Refactor Bcat service to use new ipc - Revisit (#4803)1.1.774Emmanuel Hansen
* bcat ipc * fix hipc buffer flags * add buffer fixed size flag on generator
2023-05-08misc: Avoid copy of ApplicationControlProperty (#4849)1.1.768Mary
Avoid more giant copy when passing it around.
2023-05-08time: Update for 15.0.0 changes and fixes long standing issues (#4822)1.1.766Mary
* time: Update for 15.0.0 changes Last time we did an upgrade on the time service was during 9.x era, it was about time to take back that reverse again! 15.0.0 added a new structure on the shared memory to get steady clock raw timepoints with a granularity in nanoseconds. This commit implements this new part. I plan to write a follow up with a bit of refactoring of this ancient part of the emulator. As always, reverse and work done by your truly. PS: As a reminder, if this change is reused anywhere else, work should be credited as Ryujinx and not my person. * time: Do not set setup value to posix time This should fix local and network clock returning 0 under usage with shared memory. This probably fix #2430. * Address gdkchan's comment * Fix internal offset not working since changes and ensure that user clock have a valid clock id * time: Report auto correcting clock and hardcode steady clock unique id Fix Pokemon Sword Pokejobs for real. * Address gdkchan's comment
2023-05-07misc: Switch ProcessResult to a class (#4846)1.1.765Mary
This avoid giant copies being performed when being returned or passed.
2023-05-06AM: Stub some service calls (#4825)1.1.762Ac_K
* AM: Stub some service call Some IPC I have stubbed during private testing and I don't want to deal with them anymore. Nothing more. * ICommonStateGetter disposable
2023-05-05ModLoader: Fix case sensitivy issues without breaking cheats (#4783)1.1.753TSRBerry
* Fix case sensitivity for mod subdirectories * Small refactoring of ModLoader * Don't share instruction list between all cheats Co-authored-by: riperiperi <rhy3756547@hotmail.com> --------- Co-authored-by: riperiperi <rhy3756547@hotmail.com>
2023-05-04Revert "bcat ipc (#4446)" (#4801)1.1.751gdkchan
This reverts commit 42507323535443ad79be071367f3d4815afca688.
2023-05-04bcat ipc (#4446)1.1.749Emmanuel Hansen
2023-05-03Revert "ModLoader: Fix case sensitivy issues (#4720)" (#4781)1.1.746Mary
This reverts commit cc1a933a2f4adf05a45c7adcf02669c4f423bedb.
2023-05-03ModLoader: Fix case sensitivy issues (#4720)1.1.744TSRBerry
* Fix case sensitivity for mod subdirectories * Small refactoring of ModLoader
2023-04-27Move solution and projects to srcTSR Berry