aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-07-28Avalonia: Cleanup UserEditor a bit (#3492)Ac_K
This PR cleanup the UserEditor code a bit, 2 texts are added for "Name" and "User Id", because when you create a new profile, the textbox is empty without any hints. `axaml` files are autoformated too.
2022-07-28Fix DMA linear texture copy fast path (#3496)gdkchan
* Fix DMA linear texture copy fast path * Formatting
2022-07-27Add a sampler pool cache and improve texture pool cache (#3487)gdkchan
* Add a sampler pool cache and improve texture pool cache * Increase disposal timestamp delta more to be on the safe side * Nits * Use abstract class for PoolCache, remove factory callback
2022-07-25update settings and main window tooltips (#3488)EmulationFanatic
2022-07-25misc: Reformat Ryujinx.Audio with dotnet-format (#3485)Mary-nyan
This is the first commit of a series of reformat around the codebase as discussed internally some weeks ago. This project being one that isn't touched that much, it shouldn't cause conflict with any opened PRs.
2022-07-24Resolution scaling hotkeys (#3185)MutantAura
* hotkeys * comments * update implementation to include custom scales * copypasta * review changes * hotkeys * comments * update implementation to include custom scales * copypasta * review changes * Remove outdated configuration and force hotkeys unbound * Add avalonia support * Fix configuration file * Update GTK implementation and fix config... again. * Remove legacy implementation + nits * Avalonia locales (DeepL) * review * Remove colon from chinese locale * Update ConfigFile * locale fix
2022-07-24Add support for conditional (with CC) shader Exit instructions (#3470)gdkchan
* Add support for conditional (with CC) shader Exit instructions * Shader cache version bump * Make CSM conditions default to false for EXIT.CC
2022-07-24feat: add traditional chinese translate (Avalonia) (#3474)菘菘
* feat: add traditional chinese translate * update translate
2022-07-24Change MenuHeaders to embedded textblocks (#3469)MutantAura
2022-07-24Avalonia - Use content dialog for user profile manager (#3455)Emmanuel Hansen
* remove content dialog placeholder from all windows * remove redundant window argument * redesign user profile window * wip * use avalonia auto name generator * add edit and new user options * move profile image selection to content dialog * remove usings * fix updater * address review * adjust avatar dialog size * add validation for user editor * fix typo * Shorten some labels
2022-07-24fix: Ensure to load latest version of ffmpeg libraries first (#3473)Mary-nyan
Fix a possible crash related to older version of ffmpeg being loaded instewad of the one shipped with the emulator.
2022-07-23GTK & Avalonia changes (#3480)EmulationFanatic
2022-07-23Fix decoding of block after shader BRA.CC instructions without predicate (#3472)gdkchan
* Fix decoding of block after BRA.CC instructions without predicate * Shader cache version bump
2022-07-23Avoid adding shader buffer descriptors for constant buffers that are not ↵gdkchan
used (#3478) * Avoid adding shader buffer descriptors for constant buffers that are not used * Shader cache version
2022-07-15Avoid scaling 2d textures that could be used as 3d (#3464)riperiperi
2022-07-14Reduce some unnecessary allocations in DMA handler (#2886)Logan Stromberg
* experimental changes to try and reduce allocations in kernel threading and DMA handler * Simplify the changes in this branch to just 1. Don't make unnecessary copies of data just for texture-texture transfers and 2. Add a fast path for 1bpp linear byte copies * forgot to check src + dst linearity in 1bpp DMA fast path. Fixes the UE4 regression. * removing dev log I left in * Generalizing the DMA linear fast path to cases other than 1bpp copies * revert kernel changes * revert whitespace * remove unneeded references * PR feedback Co-authored-by: Logan Stromberg <lostromb@microsoft.com> Co-authored-by: gdk <gab.dark.100@gmail.com>
2022-07-14Remove dependency for FFmpeg.AutoGen and Update FFmpeg to 5.0.1 for Windows ↵Mary
(#3466) * Remove dependency for FFMpeg.AutoGen Also prepare for FFMpeg 5.0 and 5.1 * Update Ryujinx.Graphics.Nvdec.Dependencies to 5.0.1-build10 * Address gdkchan's comments * Address Ack's comment * Address gdkchan's comment
2022-07-14BSD: Allow use of DontWait flag in Receive (#3462)Fruityloops
2022-07-12Ava/MainWindow: Do not show Show Console menu item on non-Windows (#3461)merry
2022-07-12Handle the case where byte optionValues are sent to BSD (#3405)riperiperi
Some games and the Mario Odyssey Multiplayer mod do this. The SMO multiplayer mod also needs you to revert #3394 as it uses a blocking socket to receive (otherwise it hangs), and it doesn't seem to like being forced as non-blocking.
2022-07-12Avalonia - Add border to Flyouts (#3341)Emmanuel Hansen
* add borders to menus * apply to dropdowns * darken the border for dark theme * fix duplicate keys
2022-07-12Propagate Shader phi nodes with the same source value from all blocks (#3457)gdkchan
* Propagate Shader phi nodes with the same source value from all incoming blocks * Shader cache version bump
2022-07-12Avalonia - Make tooltips more useful and descriptive, update Spanish ↵MetrosexualGarbodor
localization (#3453) * expand English tooltips and clean up * small oversight * update Spanish locale * wording * Internet * address feedback * update localization accordingly
2022-07-12Avalonia - Couple fixes and improvements (#3451)Emmanuel Hansen
* fix updater check crash * remove line * reduce cheat window sizes * enable tiered compilation and r2r * remove warning on LaunchState * remove warnings related to tasks * addressed review * undo csproj indentation * fix tabs in axaml file * remove double line * remove R2R
2022-07-12Avalonia - Further Optimize Chinese Translation (#3452)Narugakuruga
* Optimize Chinese Translation * Update zh_CN.json * Update zh_CN.json * Update zh_CN.json * Update zh_CN.json * Update zh_CN.json * Update zh_CN.json * Update zh_CN.json * test * Update zh_CN.json * Update zh_CN.json * Update zh_CN.json * Update zh_CN.json * Delete zh_CN.json * Add files via upload * Update zh_CN.json * Update zh_CN.json
2022-07-08UI - Avalonia Part 3 (#3441)Emmanuel Hansen
* Add all other windows * addreesed review * Prevent "No Update" option from being deleted * Select no update is the current update is removed from the title update window * fix amiibo crash
2022-07-08Avalonia - Use loaded config when assigning controller input (#3447)Emmanuel Hansen
* Use loaded config when assigning controller input * Fix crash when switch player in controller window
2022-07-08ensure mouse cursor is only hidden when mouse is in renderer (#3448)Emmanuel Hansen
2022-07-08misc: Relicense Ryujinx.Audio under the terms of the MIT license (#3449)Mary
* Ryujinx.Audio: Remove BOM from files * misc: Relicense Ryujinx.Audio under the terms of the MIT license With the approvals of all the Ryujinx.Audio contributors, this commit changes Ryujinx.Audio license from LGPLv3 to MIT.
2022-07-08Fix deadlock in mouse input on Avalonia (#3444)Emmanuel Hansen
* fix deadlock in mouse input * apply @AcK77 changes
2022-07-06Fix Vi managed and stray layers open/close/destroy (#3438)gdkchan
* Fix Vi managed and stray layers open/close/destroy * OpenLayer should set the state to ManagedOpened
2022-07-06Implement CPU FCVT Half <-> Double conversion variants (#3439)gdkchan
* Half <-> Double conversion support * Add tests, fast path and deduplicate SoftFloat code * PPTC version
2022-07-05Add support for alpha to coverage dithering (#3069)gdkchan
* Add support for alpha to coverage dithering * Shader cache version bump * Fix wrong alpha register * Ensure support buffer is cleared * New shader specialization based approach
2022-07-05UI - Avalonia Part 2 (#3351)Emmanuel Hansen
* add settings windows and children views * Expose hotkeys configuration on the UI * Remove double spacing from locale JSON * simplify button assigner * add cemuhook buttons and title to locale * move common button assigner to own class * cancel button assigner when window is closed * remove unused setting * address review. fix controller profile not loading default when switching devices * fix updater file name * Input cleanup (#37) * addressed review * add device type to controller device checks * change accessibility modifier of public classes to internal * Update Ryujinx.Ava/Ui/ViewModels/ControllerSettingsViewModel.cs Co-authored-by: gdkchan <gab.dark.100@gmail.com> * Update de_DE.json * Update de_DE.json * Update tr_TR.json Translated newly added lines * Update it_IT.json * fix rebase * update avalonia * fix wrong key used for button text * Align settings window elements * Tabs to spaces * Update brazilian portuguese translation * Minor improvement on brazilian portuguese translation * fix turkish translation * remove unused text * change view related classes to public * unsubscribe from deferred event if dialog is closed * Load the default language before loading any other when switching languages * Make controller settings more compact * increase default width of settings window, reduce profile buttons width Co-authored-by: gdk <gab.dark.100@gmail.com> Co-authored-by: MutantAura <44103205+MutantAura@users.noreply.github.com> Co-authored-by: Niwu34 <67392333+Niwu34@users.noreply.github.com> Co-authored-by: aegiff <99728970+aegiff@users.noreply.github.com> Co-authored-by: Antonio Brugnolo <36473846+AntoSkate@users.noreply.github.com>
2022-07-03Stub GetTemperature (#3429)Ac_K
2022-07-02Bindless elimination for constant sampler handle (#3424)gdkchan
* Bindless elimination for constant sampler handle * Shader cache version bump * Update TextureHandle.ReadPackedId for new bindless elimination
2022-06-29ui: Fix timezone abbreviation since #3361 (#3430)Mary
As title say
2022-06-25Add Simplified Chinese to Avalonia (V2) (#3416)Narugakuruga
* Add files via upload * Update Ryujinx.Ava.csproj * Update MainWindow.axaml
2022-06-25Account for pool change on texture bindings cache (#3420)gdkchan
* Account for pool change on texture bindings cache * Reduce the number of checks needed
2022-06-24timezone: Fix regression caused by #3361 (#3418)Mary
Because of that PR, TimeZoneRule was bigger than 0x4000 thanks to a misuse of a constant. This commit address this issue and add a new unit test to ensure the size of TimeZoneRule is 0x4000 bytes. Also address suggestions that were lost on the original PR.
2022-06-24time: Make TimeZoneRule blittable and avoid copies (#3361)Mary
* time: Make TimeZoneRule blittable and avoid copies This drastically reduce overhead of using TimeZoneRule around the codebase. Effect on games is unknown * Add missing Box type * Ensure we clean the structure still This doesn't perform any copies * Address gdkchan's comments * Simplify Box
2022-06-24Fix ThreadingLock deadlock on invalid access and TerminateProcess (#3407)gdkchan
2022-06-24Ensure texture ID is valid before getting texture descriptor (#3406)gdkchan
2022-06-23UI: Some Avalonia cleanup (#3358)Ac_K
2022-06-22Rewrite kernel memory allocator (#3316)gdkchan
* Rewrite kernel memory allocator * Remove unused using * Adjust private static field naming * Change UlongBitSize to UInt64BitSize * Fix unused argument, change argument order to be inline with official code and disable random allocation
2022-06-20Fix doubling of detected gamepads on program start (#3398)RhavoX
* Fix doubling of detected gamepads (sometimes the connected event is fired when the app starts even though the pad was connected for some time now). The fix rejects the gamepad if one with the same ID is already present. * Fixed review findings
2022-06-17Account for res scale changes when updating bindings (#3403)riperiperi
Fixes a regression introduced by the texture bindings PR. Also renames TextureStatePerStage, as it's no longer per stage.
2022-06-17Optimize Texture Binding and Shader Specialization Checks (#3399)riperiperi
* Changes 1 * Changes 2 * Better ModifiedSequence handling This should handle PreciseEvents properly, and simplifies a few things. * Minor changes, remove debug log * Handle stage.Info being null Hopefully fixes Catherine crash * Fix shader specialization fast texture lookup * Fix some things. * Address Feedback Part 1 * Make method static.
2022-06-17Fix VIC out of bounds copy (#3386)gdkchan
* Fix VIC out of bounds copy * Update the assert
2022-06-14Support Array/3D depth-stencil render target, and single layer clears (#3400)gdkchan
* Support Array/3D depth-stencil render target, and single layer clears * Alignment