aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-05-17Disable keyboard controller input while swkbd is open (foreground) (second ↵TSRBerry
attempt) (#6808) * Block input updates while swkbd is open in foreground mode * Flush internal driver state before unblocking input updates * Rename Flush to Clear and remove unnecessary attribute * Clear the driver state only if the GamepadDriver isn't null
2024-05-17Update audio renderer to REV12: Add support for splitter biquad filter (#6813)gdkchan
* Update audio renderer to REV12: Add support for splitter biquad filter * Formatting * Official names * Update BiquadFilterState size + other fixes * Update tests * Update comment for version 2 * Size test for SplitterDestinationVersion2 * Should use Volume1 if no ramp
2024-05-16Change Deflate compression level to `Fastest`. (#6812)MutantAura
2024-05-15Improves some log messages and fixes a typo (#6773)SamusAranX
* Improves some log messages and fixes a typo * oops * Update src/Ryujinx.UI.Common/Configuration/ConfigurationState.cs Co-authored-by: Ac_K <Acoustik666@gmail.com> * Log config file path --------- Co-authored-by: Ac_K <Acoustik666@gmail.com> Co-authored-by: TSR Berry <20988865+TSRBerry@users.noreply.github.com>
2024-05-15Add Enhancement label to Feature Requests (#6804)Isaac Marovitz
2024-05-15Revert "Disable keyboard controller input while swkbd is open (foreground) ↵gdkchan
(#…" (#6805) This reverts commit a3dc295c5f867bddb56a38f3a848ceb61ff30d32.
2024-05-14New Crowdin updates (#6590)Ac_K
* New translations en_us.json (Arabic) * New translations en_us.json (Russian) * New translations en_us.json (Chinese Traditional) * New translations en_us.json (French) * New translations en_us.json (Russian) * New translations en_us.json (Spanish) * New translations en_us.json (Arabic) * New translations en_us.json (German) * New translations en_us.json (Greek) * New translations en_us.json (Hebrew) * New translations en_us.json (Italian) * New translations en_us.json (Japanese) * New translations en_us.json (Korean) * New translations en_us.json (Polish) * New translations en_us.json (Russian) * New translations en_us.json (Turkish) * New translations en_us.json (Ukrainian) * New translations en_us.json (Chinese Simplified) * New translations en_us.json (Chinese Traditional) * New translations en_us.json (Portuguese, Brazilian) * New translations en_us.json (Thai) * New translations en_us.json (French) * New translations en_us.json (Arabic) * New translations en_us.json (Italian) * New translations en_us.json (Korean) * New translations en_us.json (Russian) * New translations en_us.json (Ukrainian) * New translations en_us.json (Chinese Simplified) * New translations en_us.json (Arabic) * New translations en_us.json (Polish) * New translations en_us.json (Turkish) * New translations en_us.json (Arabic) * New translations en_us.json (Chinese Traditional) * New translations en_us.json (Russian) * New translations en_us.json (French) * New translations en_us.json (Thai) * New translations en_us.json (Spanish) * New translations en_us.json (Arabic) * New translations en_us.json (German) * New translations en_us.json (Greek) * New translations en_us.json (Hebrew) * New translations en_us.json (Italian) * New translations en_us.json (Japanese) * New translations en_us.json (Korean) * New translations en_us.json (Polish) * New translations en_us.json (Russian) * New translations en_us.json (Turkish) * New translations en_us.json (Ukrainian) * New translations en_us.json (Chinese Simplified) * New translations en_us.json (Chinese Traditional) * New translations en_us.json (Portuguese, Brazilian) * New translations en_us.json (Thai) * New translations en_us.json (French) * New translations en_us.json (Arabic) * New translations en_us.json (Chinese Traditional) * New translations en_us.json (Arabic) * New translations en_us.json (Italian) * New translations en_us.json (Arabic) * New translations en_us.json (Italian) * New translations en_us.json (Spanish) * New translations en_us.json (Russian) * New translations en_us.json (Russian) * New translations en_us.json (Thai) * New translations en_us.json (Spanish) * New translations en_us.json (Arabic) * New translations en_us.json (German) * New translations en_us.json (Greek) * New translations en_us.json (Hebrew) * New translations en_us.json (Italian) * New translations en_us.json (Japanese) * New translations en_us.json (Korean) * New translations en_us.json (Polish) * New translations en_us.json (Russian) * New translations en_us.json (Turkish) * New translations en_us.json (Ukrainian) * New translations en_us.json (Chinese Simplified) * New translations en_us.json (Chinese Traditional) * New translations en_us.json (Portuguese, Brazilian) * New translations en_us.json (Thai) * New translations en_us.json (French) * New translations en_us.json (Chinese Traditional) * New translations en_us.json (Arabic) * New translations en_us.json (Russian) * New translations en_us.json (Turkish) * New translations en_us.json (Chinese Simplified) * New translations en_us.json (Russian) * New translations en_us.json (Chinese Simplified) * New translations en_us.json (Russian) * New translations en_us.json (Portuguese, Brazilian) * New translations en_us.json (German)
2024-05-14Bump Avalonia.Svg (#6603)Isaac Marovitz
* Bump Avalonia.Svg * Remove using * Bump Version * Remove other reload
2024-05-14Add missing lock on texture cache UpdateMapping method (#6657)gdkchan
2024-05-14Disable keyboard controller input while swkbd is open (foreground) (#6646)TSRBerry
* Block input updates while swkbd is open in foreground mode * Flush internal driver state before unblocking input updates * Rename Flush to Clear and remove unnecessary attribute
2024-05-14Make TextureGroup.ClearModified thread safe (#6686)gdkchan
2024-05-14Add the "Auto" theme option in setting (#6611)yell0wsuit
* Add "Follow OS theme" option * Update App.axaml.cs * Add "Follow OS theme" option * Update App.axaml.cs * Remove `this` * Remove annotation for nullable reference * Change into switch expression to make it concise * Change comments to XML docs * Update en_US.json * Fix icons in About dialog do not response to "auto" theme The theme icons seemingly use Dark variant event when the OS theme is light. In addition, I added ThemeManager common to make it accessible for both App and AboutWindow * Newline at the end * newline moment * Update ThemeManager.cs * bait to switch to lf * change to lf * temp. revert * Add back ThemeManager.cs common, pls pass the format check * I found the mistake: should have put `ThemeManager.OnThemeChanged();` in try block Finally solve the formatting check * test formatting * Update App.axaml.cs * Ok i seem to forget to add version lol * Fix info CA1816
2024-05-14Update compatibility information in README.md (#6801)Gavin Zyonse
2024-05-14Add support for bindless textures from storage buffer on Vulkan (#6721)gdkchan
* Halve primitive ID when converting quads to triangles * Shader cache version bump * Add support for bindless textures from storage buffer on Vulkan
2024-05-14discordRPC: Truncate game title and details if they exceed discord byte ↵MutantAura
limit. (#6581) * Truncate game title and details if they exceed DiscordRPC limit. * Update implementation to a byte total check. * Track if the string has actually been modified correctly. * Allow an early function return and simplify logic. * Better handling of large input strings and minimise loop opportunities. * Remove unused using. * Update to `applicationName` over `titleName`.
2024-05-14HID: Stub IHidServer: 134 (SetNpadAnalogStickUseCenterClamp) (#6664)Tsubasa0504
* Add files via upload * Update IHidServer.cs mistakes... * format how do i do it * Update src/Ryujinx.HLE/HOS/Services/Hid/IHidServer.cs Co-authored-by: Agatem <agaatem@outlook.com> * Update src/Ryujinx.HLE/HOS/Services/Hid/IHidServer.cs Co-authored-by: Agatem <agaatem@outlook.com> * bruh * Apply suggestions from code review Co-authored-by: gdkchan <gab.dark.100@gmail.com> * use readuint32 instead * second thought * i hope it works thanks someone higher up with the same thing * pid * Apply suggestions from code review Co-authored-by: Ac_K <Acoustik666@gmail.com> * styles i think * Apply suggestions from code review Co-authored-by: makigumo <makigumo@users.noreply.github.com> --------- Co-authored-by: Agatem <agaatem@outlook.com> Co-authored-by: gdkchan <gab.dark.100@gmail.com> Co-authored-by: Ac_K <Acoustik666@gmail.com> Co-authored-by: makigumo <makigumo@users.noreply.github.com>
2024-05-14Update outdated Windows version warning (#6481)Luke Warner
* Change text * clarify version number * update gtk
2024-05-14Add linux specific files to local builds (#6762)TSRBerry
2024-05-14Update DotSettings (#6535)Isaac Marovitz
2024-05-08Replace "List.ForEach" for "foreach" (#6783)Marco Carvalho
* Replace "List.ForEach" for "foreach" * dotnet format * Update Ptc.cs * Update GpuContext.cs
2024-05-02Fix system dateTime loading in avalonia LoadCurrentConfiguration (#6676)Nicolas Abram
* Fix system dateTime loading in avalonia LoadCurrentConfiguration * Rename local var to not use upper camel case
2024-05-01UI: Fix some MainWindow bugs and implement menubar items to change window ↵MutantAura
size. (#6750) * Do not save window dimensions when maximized. * Implement option to disable window size/position memory. * Remove logging statements * Implement menubar items for common window sizes. * formatting fixes * Set 720p window as a composite value. * Remove unused using * Fix exception paramter. * Force restore window when a size change is requested * Fix some resizing bugs.
2024-04-29Fix alt key appearing as control in settings menus (#6742)Andrew Glaze
2024-04-28Fix Cursor States On Windows (#6725)Exhigh
* [Ava]: Fix Cursor States On Windows It's been sometime since the last PR #5415 was made and last time i was waiting for Ava 11 to be merged before re-writing the code and along the way forgot about the PR. Anyway this PR supersedes both #5288 and #5415, and fixes issue: #5136 * Now, the bounds for which the cursor should be detected in renderer should be accurate to any scaling / resolution, taking into account the status and the menu bar. ( This issue was partially resolved by #6450 ) * Reduced the number of times the cursor updates from per frame update to updating only when the cursor state needs to be changed. * Fixed the issue wherein you weren't able to resize the window, because of the cursor passthrough which caused the cursor to reset from the reset icon or flicker. * Fixed the issue caused by #6450 which caused the cursor to disappear over the submenus while cursor was set to always hide. * Changed the cursor state to not disappear while the game is being loaded. ( Needs Feedback ). * Removed an unused library import. * PR feedback * Fix excessive line breaks and whitespaces and other feedback * Add a check before calculating cursor idle time, such that it calculates only while the cursor mode is OnIdle. * PR Feedback * Rework the cursor state check code block Co-Authored-By: gdkchan <5624669+gdkchan@users.noreply.github.com> * PR Feedback * A simpler version of the previous implementation. Co-Authored-By: gdkchan <5624669+gdkchan@users.noreply.github.com> * PR Feedback * PR Feedback --------- Co-authored-by: gdkchan <5624669+gdkchan@users.noreply.github.com>
2024-04-28Fix direct keyboard not working when using a Controller. (#6716)MaxLastBreath
* Fix direct keyboard not working when connected with a controller - Pass KeyboardDriver to NpadController.GetHLEKeyboardInput(). - Always fetch all keyboards if Direct Keyboard is turned on. - Remove unnecessary return null. * Get Keyboard Inputs outside of the controller loop. - Moved GetHLEKeyboardInput outside of the controller loop. - Made GetHLEKeyboardInput public static from public * Removed extra newline * Update src/Ryujinx.Input/HLE/NpadManager.cs Co-authored-by: gdkchan <gab.dark.100@gmail.com> * Update src/Ryujinx.Input/HLE/NpadController.cs Co-authored-by: TSRBerry <20988865+TSRBerry@users.noreply.github.com> --------- Co-authored-by: gdkchan <gab.dark.100@gmail.com> Co-authored-by: TSRBerry <20988865+TSRBerry@users.noreply.github.com>
2024-04-28HID: Correct direct mouse deltas (#6736)riperiperi
The delta position of the mouse should be the difference between the current and last position. Subtracting the last deltas doesn't really make sense. Won't implement pointer lock for first person games, but might stop some super weird behaviour with the mouse values appearing totally random.
2024-04-26ci: Replace macos-latest label with macos-13 (#6729)TSRBerry
Due to a change to the GitHub runner labels a few days ago (see: actions/runner#3256) our build workflows for macOS x64 didn't work anymore. According to https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners#standard-github-hosted-runners-for-public-repositories the macos-13 label is not using arm64 yet. Until a better solution is offered in the linked issue above, we'll keep using the macos-13 label which hopefully doesn't switch to arm64 soon.
2024-04-22Add support for bindless textures from shader input (vertex buffer) on ↵gdkchan
Vulkan (#6577) * Add support for bindless textures from shader input (vertex buffer) * Shader cache version bump * Format whitespace * Remove cache entries on pool removal, disable for OpenGL * PR feedback
2024-04-21implement `MemoryManagerHostTracked.GetReadOnlySequence()` (#6695)jhorv
* implement `MemoryManagerHostTracked.GetReadOnlySequence()`, fixes crashes on game starts on MacOS * whitespace fixes * whitespace fixes * add missing call to `SignalMemoryTracking()` * adjust call to `SignalMemoryTracking()`` * don't use GetPhysicalAddressMemory() * add newline for consistency
2024-04-21Use pooled memory and avoid memory copies (#6691)jhorv
* perf: use ByteMemoryPool * feat: KPageTableBase/KPageTable new methods to read and write `ReadOnlySequence<byte>` * new: add IWritableBlock.Write(ulong, ReadOnlySequence<byte>) with default impl * perf: use GetReadOnlySequence() instead of GetSpan() * perf: make `Parcel` IDisposable, use `ByteMemoryPool` for internal allocation, and make Parcel consumers dispose of it * remove comment about copySize * remove unnecessary Clear()
2024-04-20End render target lifetime on syncpoint increment (#6687)gdkchan
2024-04-19chore: remove repetitive words (#6690)toofooboo
Signed-off-by: toofooboo <cmaker@foxmail.com>
2024-04-19Do not compare Span<T> to 'null' or 'default' (#6683)Marco Carvalho
2024-04-19Update to new standard for volatility operations (#6682)Marco Carvalho
2024-04-18Fix unmapped address check when reading texture handles (#6679)gdkchan
2024-04-18Update "SixLabors.ImageSharp" (#6680)Marco Carvalho
2024-04-17Ava UI: Input Menu Refactor (#5826)Isaac Marovitz
* Refactor * Apply suggestions from code review Co-authored-by: Ac_K <Acoustik666@gmail.com> * Update src/Ryujinx/UI/Views/Settings/SettingsHotkeysView.axaml.cs Co-authored-by: Ac_K <Acoustik666@gmail.com> * Update src/Ryujinx.Input/ButtonValueType.cs Co-authored-by: Ac_K <Acoustik666@gmail.com> * Add empty line * Requested renames * Update src/Ryujinx/UI/Views/Settings/SettingsHotkeysView.axaml.cs Co-authored-by: gdkchan <gab.dark.100@gmail.com> * Make parent models private readonly * Fix ControllerInputView * Make line shorter * Mac keys in locale * Double line break * Fix build * Get rid of _isValid * Fix potential race condition * Rename HasAnyButtonPressed to IsAnyButtonPressed * Use switches * Simplify enumeration --------- Co-authored-by: Ac_K <Acoustik666@gmail.com> Co-authored-by: gdkchan <gab.dark.100@gmail.com> Co-authored-by: TSR Berry <20988865+TSRBerry@users.noreply.github.com>
2024-04-15Fix crash when changing controller config (#6654)Luke
* fix needsMotionInputUpdate conditions * Fix formatting Co-authored-by: gdkchan <gab.dark.100@gmail.com> --------- Co-authored-by: gdkchan <gab.dark.100@gmail.com>
2024-04-14Texture loading: reduce memory allocations (#6623)jhorv
* rebase * add methods Ryyjinx.Common EmbeddedResources and SteamUtils * GAL changes - change SetData() methods and ThreadedTexture commands to use IMemoryOwner<byte> instead of SpanOrArray<byte> * Ryujinx.Graphics.Texture: change texture conversion methods to return IMemoryOwner<byte> and allocate from ByteMemoryPool * Ryujinx.Graphics.OpenGL: update ITexture and Texture-like types with SetData() methods to take IMemoryOwner<byte> instead of SpanOrArray<byte> * Ryujinx.Graphics.Vulkan: update ITexture and Texture-like types with SetData() methods to take IMemoryOwner<byte> instead of SpanOrArray<byte> * Ryujinx.Graphics.Gpu: update ITexture and Texture-like types with SetData() methods to take IMemoryOwner<byte> instead of SpanOrArray<byte> * Remove now-unused SpanOrArray<T> * post-rebase cleanup * PixelConverter: remove unsafe modifier on safe methods, and remove one unnecessary cast * use ByteMemoryPool.Rent() in GetWritableRegion() impls * fix formatting, rename `ReadRentedMemory()` to `ReadFileToRentedMemory()`` * Texture.ConvertToHostCompatibleFormat(): dispose of `result` in Astc decode branch
2024-04-11Account for swapchain image count change after re-creation (#6652)gdkchan
2024-04-11Allow BSD sockets Poll to exit when emulation ends (#6650)gdkchan
2024-04-10Revert "Update StoreConstantToMemory to match StoreConstantToAddress on ↵gdkchan
value…" (#6649) This reverts commit 22e3ff06b51db0fa72e9f2dc2aee395a5d1aa2df.
2024-04-11Update StoreConstantToMemory to match StoreConstantToAddress on value read ↵WilliamWsyHK
(#6642)
2024-04-10Ava UI: Prevent Status Bar Backend Update (#6506)Isaac Marovitz
* Prevent Status Bar Backend Update * Make it a switch
2024-04-10nuget: bump Microsoft.IdentityModel.JsonWebTokens from 7.4.0 to 7.5.1 (#6627)dependabot[bot]
Bumps [Microsoft.IdentityModel.JsonWebTokens](https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet) from 7.4.0 to 7.5.1. - [Release notes](https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/releases) - [Changelog](https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/blob/dev/CHANGELOG.md) - [Commits](https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/compare/v7.4.0...7.5.1) --- updated-dependencies: - dependency-name: Microsoft.IdentityModel.JsonWebTokens dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-10Fix input consumed by audio renderer SplitterState.Update (#6640)gdkchan
* Fix input consumed by audio renderer SplitterState.Update * Use sizeof(int) to make clear what the value is
2024-04-09CPU: Produce non-inf results for RSQRTE instruction with subnormal inputs ↵gdkchan
(#6634) * CPU: Produce non-inf results for RSQRTE instruction with subnormal inputs * PPTC version bump
2024-04-09Use ResScaleUnsupported flag for texture arrays (#6626)gdkchan
2024-04-09Fast D32S8 2D depth texture copy (#6636)gdkchan
2024-04-08Pin audio renderer update output buffers (#6633)gdkchan