gdkchan
0a1a9ed69a
Implement Thumb (32-bit) memory (ordered), multiply, extension and bitfield instructions ( #3687 )
...
* Implement Thumb (32-bit) memory (ordered), multiply and bitfield instructions
* Remove public from interface
* Fix T32 BL immediate and implement signed and unsigned extend instructions
2022-09-10 22:51:00 -03:00
gdk
2ebb6e3d4e
Revert address space mirror changes
2022-09-10 16:23:49 +02:00
gdk
1f8db8b839
Allocation free tree lookup
2022-09-10 16:23:49 +02:00
gdk
08f973201a
Update several methods to use GetNode directly and avoid array allocations
2022-09-10 16:23:49 +02:00
gdk
0aac4d7932
Optimize PlaceholderManager.UnreserveRange
2022-09-10 16:23:49 +02:00
gdk
613c41ff7c
Fix potential issue with partial unmap
...
We must also do the unmap operation with the RWLock, otherwise faults on the unmapped region will cause crashes and the whole thing becomes pointless
2022-09-10 16:23:49 +02:00
gdk
4f535b5c26
Fix reprotection regression
2022-09-10 16:23:49 +02:00
gdk
8d8c473200
Make RBTree node fields internal again
...
Prevents someone from accidentaly messing with them and leaving the tree in a invalid state
2022-09-10 16:23:49 +02:00
gdk
ecbe5c5e9e
Delete unused code
2022-09-10 16:23:49 +02:00
gdk
e35dc08fc4
Rewrite PlaceholderManager4KB to use intrusive RBTree, and to coalesce free placeholders
...
Also make the other placeholder manager use intrusive RBTree, allows the IntervalTree that was added just for this to be deleted
2022-09-10 16:23:49 +02:00
gdk
5f06a2462d
Defer address space mirror mapping and use it only if strictly needed
2022-09-10 16:23:49 +02:00
gdkchan
1b5a7acbfd
Do not output ViewportIndex on SPIR-V if GPU does not support it ( #3644 )
...
* Do not output ViewportIndex on SPIR-V if GPU does not support it
* Bump shader cache version
2022-09-10 13:20:23 +00:00
EmulationFanatic
e62f81e126
Update README.MD verbiage and compatibility
2022-09-10 15:07:37 +02:00
riperiperi
09ace584fa
Rebind textures if format changes or they're buffer textures
2022-09-10 14:12:50 +02:00
gdkchan
38b374b02c
Allocate work buffer for audio renderer instead of using guest supplied memory ( #3276 )
...
* Allocate work buffer for audio renderer instead of using guest supplied memory
* Typo
* Use GC.AllocateArray to allocate pinned array
2022-09-10 01:16:24 +00:00
gdkchan
1d3038ebeb
Add ADD (zx imm12), NOP, MOV (rs), LDA, TBB, TBH, MOV (zx imm16) and CLZ thumb instructions ( #3683 )
...
* Add ADD (zx imm12), NOP, MOV (register shifted), LDA, TBB, TBH, MOV (zx imm16) and CLZ thumb instructions, fix LDRD, STRD, CBZ, CBNZ and BLX (reg)
* Bump PPTC version
2022-09-09 22:09:11 -03:00
gdkchan
3f19a22b0e
Implement VRSRA, VRSHRN, VQSHRUN, VQMOVN, VQMOVUN, VQADD, VQSUB, VRHADD, VPADDL, VSUBL, VQDMULH and VMLAL Arm32 NEON instructions ( #3677 )
...
* Implement VRSRA, VRSHRN, VQSHRUN, VQMOVN, VQMOVUN, VQADD, VQSUB, VRHADD, VPADDL, VSUBL, VQDMULH and VMLAL Arm32 NEON instructions
* PPTC version
* Fix VQADD/VQSUB
* Improve MRC/MCR handling and exception messages
In case data is being recompiled as code, we don't want to throw at emit stage, instead we should only throw if it actually tries to execute
2022-09-09 21:47:38 -03:00
riperiperi
3bc6ded1ec
Restride vertex buffer when stride causes attributes to misalign in Vulkan. ( #3679 )
...
* Vertex Buffer Alignment part 1
* Update CacheByRange
* Add Stride Change compute shader, fix storage buffers in helpers
* An AMD exclusive
* Reword
* Change rules - stride conversion when attrs misalign
* Fix stupid mistake
* Fix background pipeline compile
* Improve a few things.
* Fix some feedback
* Address Feedback
(the shader binary didn't change when i changed the source to use the subgroup size)
* Fix bug where rewritten buffer would be disposed instantly.
2022-09-08 20:30:19 -03:00
FICTURE7
00c11f1a3c
Clean up rejit queue ( #2751 )
2022-09-08 20:14:08 -03:00
LDj3SNuD
42427db102
Implemented in IR the managed methods of the Saturating region ... ( #3665 )
...
* Implemented in IR the managed methods of the Saturating region ...
... of the SoftFallback class (the SatQ ones).
The need to natively manage the Fpcr and Fpsr system registers is still a fact.
Contributes to https://github.com/Ryujinx/Ryujinx/issues/2917 ; I will open another PR to implement in Intrinsics-branchless the methods of the Saturation region as well (the SatXXXToXXX ones).
All instructions involved have been tested locally in both release and debug modes, in both lowcq and highcq.
* Ptc.InternalVersion = 3665
* Addressed PR feedback.
2022-09-08 19:40:41 -03:00
gdkchan
b68b2ecc82
Transform shader LDC into constant buffer access if offset is constant ( #3672 )
...
* Transform shader LDC into constant buffer access if offset is constant
* Shader cache version bump
2022-09-07 20:25:22 -03:00
Mary
de3bd3c50d
bsd: improve socket poll
...
We should report errors even when not requested.
This also ensure we only clear the bits that were requested on the output.
Finally, this fix when input events is 0.
2022-09-07 22:58:41 +02:00
Mary-nyan
5fe2352118
bsd: implement SendMMsg and RecvMMsg ( #3660 )
...
* bsd: implement sendmmsg and recvmmsg
* Fix wrong increment of vlen
2022-09-07 22:37:15 +02:00
EmulationFanatic
a79e0f224a
Update bug report template ( #3676 )
...
Adds some verbiage to indicate that game-specific issues should be posted instead on the game compatibility list, unless it is a provable regression.
2022-09-06 22:30:07 +02:00
TSRBerry
9a1db90f13
Bsd: Fix NullReferenceException in BsdSockAddr.FromIPEndPoint() ( #3652 )
...
* Bsd: Fix NullReferenceException in BsdSockAddr.FromIPEndPoint()
Allows "Victor Vran Overkill Edition" to boot with guest internet access enabled.
Thanks to EmulationFanatic for testing this for me!
* Bsd: Return proper error code if RemoteEndPoint is null
* Remove whitespace from empty line
Co-authored-by: gdkchan <gab.dark.100@gmail.com>
Co-authored-by: gdkchan <gab.dark.100@gmail.com>
2022-09-01 22:04:01 +00:00
riperiperi
df58b4a406
Change vsync signal to happen at 60hz, regardless of swap interval ( #3642 )
...
* Change vsync signal to happen at 60hz, regardless of swap interval
* Update Ryujinx.HLE/HOS/Services/SurfaceFlinger/SurfaceFlinger.cs
Co-authored-by: gdkchan <gab.dark.100@gmail.com>
* Fix softlock when toggling vsync
Co-authored-by: gdkchan <gab.dark.100@gmail.com>
2022-09-01 17:57:50 -03:00
Mary
cfc6e1376e
bsd: Fix Poll(0) returning ETIMEDOUT instead of SUCCESS
...
This was an oversight of the implementation.
2022-09-01 21:46:11 +02:00
Mary
69f554f19e
sfdsnres: fix endianess issue for port serialisation
2022-09-01 21:31:20 +02:00
Mary
45b336867c
Address gdkchan's comment
2022-08-31 21:33:03 +02:00
Mary
1622a8a0bf
account: Implement LoadNetworkServiceLicenseKindAsync
...
This is needed to run Pokemon Legends Arceus 1.1.1 with guest internet enabled.
The game still get stuck at loading screen.
2022-08-31 21:33:03 +02:00
TSRBerry
bc9fb1ac69
Bsd: Fix ArgumentOutOfRangeException in SetSocketOption ( #3633 )
...
* Bsd: Fix ArgumentOutOfRangeException in SetSocketOption
* Ensure option level is Socket before checking for SoLinger
2022-08-28 14:24:19 +00:00
mageven
9040739d78
Replace image format magic numbers with enums ( #3631 )
...
* Replace magic constants with enums
* Extra formatting
* Lower case ASTC dimensions
* Use uint for VertexAttributeFormat
2022-08-28 01:56:26 +00:00
txorion
37c6f550af
Updates Japanese localization for the Avalonia UI ( #3635 )
2022-08-27 07:01:30 +00:00
gdkchan
a048e002cb
Optimize kernel memory block lookup and consolidate RBTree implementations ( #3410 )
...
* Implement intrusive red-black tree, use it for HLE kernel block manager
* Implement TreeDictionary using IntrusiveRedBlackTree
* Implement IntervalTree using IntrusiveRedBlackTree
* Implement IntervalTree (on Ryujinx.Memory) using IntrusiveRedBlackTree
* Make PredecessorOf and SuccessorOf internal, expose Predecessor and Successor properties on the node itself
* Allocation free tree node lookup
2022-08-26 18:21:48 +00:00
aegiff
79c894a570
Update Turkish Translation ( #3498 )
...
Translated newly added lines and polished older entries.
2022-08-26 18:00:17 +00:00
Niwu34
928d721c74
Update de_DE.json ( #3502 )
...
* Update de_DE.json
* Update de_DE.json
* Update de_DE.json
* Update de_DE.json
* Update de_DE.json
* Update de_DE.json
* Update de_DE.json
* Another one
* Update de_DE.json
* addressed reviews
Co-Authored-By: Miepee <38186597+Miepee@users.noreply.github.com>
* welp
Co-Authored-By: Miepee <38186597+Miepee@users.noreply.github.com>
* Update de_DE.json
* Update de_DE.json
quick update with the latest changes
Co-Authored-By: Miepee <38186597+Miepee@users.noreply.github.com>
* Update de_DE.json
Co-Authored-By: Miepee <38186597+Miepee@users.noreply.github.com>
Co-authored-by: Miepee <38186597+Miepee@users.noreply.github.com>
Co-authored-by: reloxx13 <reloxx@interia.pl>
2022-08-26 19:49:05 +02:00
Narugakuruga
a377c2abd4
Update zh_CN.json ( #3598 )
...
* Update zh_CN.json
* Update zh_CN.json
* Update zh_CN.json
* Update zh_CN.json
* Delete zh_CN.json
* fix crash
* Update zh_CN.json
* Update zh_CN.json
* Update zh_CN.json
* Update zh_CN.json
* Update zh_CN.json
2022-08-26 19:36:42 +02:00
Luna
2993d73118
Avalonia - Add Polish Translation ( #3569 )
...
* Update Ryujinx.Ava.csproj
* Update MainWindow.axaml
* Create pl_PL.json
* Update pl_PL.json
* Update pl_PL.json
* Update pl_PL.json
* Update pl_PL.json
* PPTC wording changes
adding PPTC changes
Co-authored-by: Clara <moonbowjelly@gmail.com>
2022-08-26 19:24:59 +02:00
MetrosexualGarbodor
9fa1491dec
Avalonia - Display language names in their corresponding language under "Change Language" ( #3490 )
...
* change languages to their native names
* fix Chinese language names
* Update MainWindow.axaml
2022-08-26 19:12:11 +02:00
Mary-nyan
67e7ebb1b7
bsd: Fix Poll writting in input buffer ( #3630 )
...
This is a very old oversight on our Poll implementation.
This worked so far reliably because games and homebrews pass the same
buffer as input and output.
2022-08-26 18:10:45 +02:00
gdkchan
86a895718a
Fast path for Inline-to-Memory texture data transfers ( #3610 )
...
* Fast path for Inline-to-Memory texture data transfers
* Only do it for block linear textures to be on the safe side
2022-08-26 02:16:41 +00:00
Ac_K
3d03420625
pctl: Implement EndFreeCommunication
...
This PR Implement `EndFreeCommunication` (checked by RE). Nothing more.
Closes #2420
2022-08-25 23:18:37 +02:00
Mary-nyan
5d5754b87b
misc: Fix missing null terminator for strings with pchtxt ( #3629 )
...
As title say.
2022-08-25 19:59:15 +00:00
merry
e232140683
ARMeilleure: Hardware accelerate SHA256 ( #3585 )
...
* ARMeilleure/HardwareCapabilities: Add Sha
* ARMeilleure/Intrinsic: Add X86Sha256Rnds2
* ARmeilleure: Hardware accelerate SHA256H/SHA256H2
* ARMeilleure/Intrinsic: Add X86Sha256Msg1, X86Sha256Msg2
* ARMeilleure/Intrinsic: Add X86Palignr
* ARMeilleure: Hardware accelerate SHA256SU0, SHA256SU1
* PTC: Bump InternalVersion
2022-08-25 10:12:13 +00:00
gdkchan
3c57eae72d
Implement some 32-bit Thumb instructions ( #3614 )
...
* Implement some 32-bit Thumb instructions
* Optimize OpCode32MemMult using PopCount
2022-08-25 09:59:34 +00:00
RKennedy9064
ee5744636c
Update PPTC dialog text to match label and tooltip ( #3618 )
...
* Update PPTC dialog text to match label and tooltip
* Update to requested text
* Reverting spaces
* Adding newline back in
2022-08-24 08:25:49 +00:00
MutantAura
ddeb3335fc
Check if game directories have been updated before refreshing GUI ( #3607 )
...
* Check if game directories have been updated before refreshing list on save.
* Cleanup spacing
* Add Avalonia and reset value after saving
* Fix Avalonia
* Fix multiple directories not being added in GTK
2022-08-21 13:07:28 +00:00
gdkchan
71aa9345a8
Use RGBA16 vertex format if RGB16 is not supported on Vulkan ( #3552 )
...
* Use RGBA16 vertex format if RGB16 is not supported on Vulkan
* Catch all shader compilation exceptions
2022-08-20 16:20:27 -03:00
EmulationFanatic
9b4c46bf26
Change 'Purge PPTC Cache' label & tooltip to reflect function behavior ( #3601 )
...
* Change PPTC purge label & tooltip
* Change Avalonia labels
2022-08-19 23:39:59 +00:00
Nicholas Rodine
912dee860e
A few minor documentation fixes. ( #3599 )
...
* A few minor documentation fixes.
* Removed more invalid inheritdoc instances.
2022-08-19 18:21:06 -03:00