aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2022-06-12Less invasive fix for EventFd blocking operations (#3394)gdkchan
2022-06-11Allow concurrent BSD EventFd read/write (#3385)gdkchan
2022-06-11Ignore ClipControl on draw texture fallback (#3388)gdkchan
2022-06-10Fix instanced indexed inline draw index count (#3389)gdkchan
2022-06-05Fix instanced indexed inline draws (#3383)gdkchan
2022-06-05Remove freed memory range from tree on memory block disposal (#3347)gdkchan
* Remove freed memory range from tree on memory block disposal * PR feedback
2022-06-05Extend uses count from ushort to uint on Operand Data structure (#3374)gdkchan
2022-06-05Copy dependency for multisample and non-multisample textures (#3382)gdkchan
* Use copy dependency for textures that differs in multisample but are otherwise compatible * Remove allowMs flag as it's no longer required for correctness, it's just an optimization now * Dispose intermmediate pool
2022-06-04Fix a potential GPFIFO submission race (#3378)Billy Laws
The syncpoint maximum value represents the maximum possible syncpt value at a given time, however due to PBs being submitted before max was incremented, for a brief moment of time this is not the case which could lead to invalid behaviour if a game waits on the fence at that specific time.
2022-06-02Fix 3D semaphore counter type 0 handling (#3380)Billy Laws
Counter type 0 actually releases the semaphore payload rather than a constant zero as was previously thought. This is required by Skyrim.
2022-06-01infra: Switch to win10-x64 RID and fix PR comment for Avalonia and SDL2 ↵Mary
artifact rename (#3375) * infra: Switch to win10-x64 RID and fix PR comment for Avalonia and SDL2 artifact rename * Address gdkchan's comments
2022-05-31Rewrite SVC handler using source generators rather than IL emit (#3371)gdkchan
* Implement syscall handlers using a source generator * Copy FlushProcessDataCache implementation to Syscall since it was only implemented on Syscall32 * Fix wrong argument order in some syscalls * Delete old Reflection.Emit based syscall handling code * Improvements to the code generation * ControlCodeMemory address and size is always 64-bit
2022-05-31Refactor CPU interface to allow the implementation of other CPU emulators ↵gdkchan
(#3362) * Refactor CPU interface * Use IExecutionContext interface on SVC handler, change how CPU interrupts invokes the handlers * Make CpuEngine take a ITickSource rather than returning one The previous implementation had the scenario where the CPU engine had to implement the tick source in mind, like for example, when we have a hypervisor and the game can read CNTPCT on the host directly. However given that we need to do conversion due to different frequencies anyway, it's not worth it. It's better to just let the user pass the tick source and redirect any reads to CNTPCT to the user tick source * XML docs for the public interfaces * PPTC invalidation due to NativeInterface function name changes * Fix build of the CPU tests * PR feedback
2022-05-31Allow loading NSPs without a NCA inside (#3364)gdkchan
* Allow loading NSPs without a NCA inside * Set isHomebrew as true
2022-05-21Don't force DPI aware on Avalonia - it already has it covered. (#3354)riperiperi
2022-05-19Fix audio renderer error message result code base (#3348)gdkchan
2022-05-16UI - Scale end framebuffer blit (#3342)Emmanuel Hansen
* Scale end framebuffer blit * fix * fix * apply changes to avalonia
2022-05-15Fix Avalonia updaterMary
2022-05-15fix amiibo image path (#3345)Emmanuel Hansen
2022-05-15gh-actions: Prefix Avalonia builds with test- and disable prerelease.Mary
As GitHub sort our builds in an alphanumeric way, we abuse that to fix both new and old updater behaviour. This should fix all our issues. Avalonia updater will be broken between version 1.1.122 to 1.1.126, and will need manual intervention.
2022-05-15gh-actions: Attempt to fix the whole mess up with Avalonia changesMary
Marked as prerelease just in case it break even more
2022-05-15add avalonia builds to release (#3339)Emmanuel Hansen
2022-05-15misc: Clean up of CS project after Avalonia merge (#3340)Mary
This reformat Avalonia csproj file, remove unused deps and reajust Ryujinx csproj a bit after some other changes Also updated OpenTK.Graphics