Commit graph

2162 commits

Author SHA1 Message Date
greggameplayer
597c63a814 delete mixed tabs & spaces & use void for methods 2024-02-22 19:13:42 -05:00
greggameplayer
5e4eddf445 add a new Method for OpenAudioOut & OpenAudioOutAuto 2024-02-22 19:13:42 -05:00
greggameplayer
aafed824aa Implement ListAudioOutsAuto & OpenAudioOutAuto 2024-02-22 19:13:42 -05:00
greggameplayer
180df8cad7 change places of the args of GetAvailableLanguagesCodesMethod 2024-02-22 19:13:42 -05:00
greggameplayer
b16f1e1262 correct whitespaces 2024-02-22 19:13:42 -05:00
greggameplayer
a8787fb645 Implement GetAvailableLanguageCodes2 with a method 2024-02-22 19:13:42 -05:00
riperiperi
160aff3f8f Faster soft implementation of smulh and umulh (#134)
* Faster soft implementation of smulh and umulh

* smulh: Fixed mul with 0 acting like it had a negative result.

* Use compliment for negative smulh result.
2024-02-22 19:13:41 -05:00
gdkchan
81af45ec58 Partial GPU DMA support (#158) 2024-02-22 19:13:41 -05:00
Starlet
cf343a20bc Compliant with review. 2024-02-22 19:13:41 -05:00
Starlet
23701c23e8 [PCTL] Add CreateServiceWithoutInitialize and Initialize 2024-02-22 19:13:41 -05:00
Lordmau5
6dc2561565 Remove comment 2024-02-22 19:13:41 -05:00
Lordmau5
1d5a63664c Implement R16 texture format (#147) 2024-02-22 19:13:41 -05:00
Lordmau5
c2ce0ba499 Implement Fabs_V (#146) 2024-02-22 19:13:41 -05:00
gdkchan
d6ced9fecc Minor shader fixes 2024-02-22 19:13:41 -05:00
DatBoiJay3
41df305aab Neatness counts 2024-02-22 19:13:41 -05:00
DatBoiJay3
7be13f300d Fix input in SMO
Unsure if this will break other games though.
Please test. :)
2024-02-22 19:13:41 -05:00
gdkchan
49ed4ec0ec Rename Ryujinx.Core to Ryujinx.HLE and add a separate project for a future LLE implementation 2024-02-22 19:13:40 -05:00
Lordmau5
a98b2c6d9f Fix bracket alignment 2024-02-22 19:13:40 -05:00
Lordmau5
47358895fc Implement GetDefaultDisplayResolution/+ChangeEvent on ICommonStateGetter 2024-02-22 19:13:40 -05:00
Lordmau5
0b20ba78bd Update README file (#143) 2024-02-22 19:13:40 -05:00
gdkchan
9ad1dcc675 Use sample counter on HID controller layouts 2024-02-22 19:13:40 -05:00
Tobias
bca7ce8dc7 Add stubs for Nfp and Acc + SvcGetThreadCoreMask implementation (#133)
* Stubs for NFP

* Stubs for ACC

* Implement SvcGetThreadCoreMask

* Fixup

* Fixup 2

* Fixup 3

* Address Cyuubi's feedback
2024-02-22 19:13:40 -05:00
gdkchan
6d7c191d9d Fix a small size related issue on MapBufferEx and add the BC7U texture format 2024-02-22 19:13:40 -05:00
gdkchan
0fd5cfd410 Fix a thread sync bug as is the usual... 2024-02-22 19:13:40 -05:00
gdkchan
0a581d8d81 Somewhat better implementation of thread yield 2024-02-22 19:13:40 -05:00
gdkchan
940589043c Move WriteBytes to AMemory, implement it with a Marshal copy like ReadBytes, fix regression on address range checking 2024-02-22 19:13:40 -05:00
gdkchan
284c66d722 Use source texture size when doing reads for texure copy 2024-02-22 19:13:39 -05:00
gdkchan
27212ddb69 Small cleanup in AMemory and removed some unused usings 2024-02-22 19:13:39 -05:00
gdkchan
a41724e473 Do not inline the scalar vector load methods as a workaround to a .net JIT bug 2024-02-22 19:13:39 -05:00
gdkchan
c0791b70e7 Texture/Vertex/Index data cache (#132)
* Initial implementation of the texture cache

* Cache vertex and index data aswell, some cleanup

* Improve handling of the cache by storing cached ranges on a list for each page

* Delete old data from the caches automatically, ensure that the cache is cleaned when the mapping/size changes, and some general cleanup
2024-02-22 19:13:38 -05:00
riperiperi
d06edd356b ReadBytes function in AMemory, with cleaner range check. (#136) 2024-02-22 19:13:38 -05:00
greggameplayer
de8e04d3e3 Add & Correct ErrorModules (#137)
* Add & Correct ErrorModules

* Remove LibNX specific ErrorModules

* Remove Homebrew Specific ErrorModules
2024-02-22 19:13:38 -05:00
gdkchan
4a94313fe2 Force inline some of the vector read/write methods 2024-02-22 19:13:38 -05:00
gdkchan
b3f675874c Fix ILibraryAppletCreator CreateStorage, implement Write on IStorageAccessor 2024-02-22 19:13:38 -05:00
gdkchan
a1e3dacb89 Use GetBufferType0x21 on TransactParcelAuto aswell 2024-02-22 19:13:38 -05:00
Starlet
3c403aa71d SMO stubs and implementations (#129)
* WIP SMO stubs and implementations

* fixes?

* Add StorageHelper

* Whoops

* Compliant with review.

* Remove unnecessary usings
2024-02-22 19:13:37 -05:00
gdkchan
e56fae18f1 Fix copy-paste mistake, also related to astc... 2024-02-22 19:13:37 -05:00
gdkchan
95867fc50a Fix mistake on astc conversion, make some static methods that shouldn't be public private, remove old commmented out code 2024-02-22 19:13:37 -05:00
gdkchan
7d0227b89a Re add some texture formats that I somehow removed by accident on OGLEnumConverter 2024-02-22 19:13:37 -05:00
gdkchan
30bb60a874 Some small gpu improvements and shader improvements, add support for ASTC 4x4 textures (slow!) 2024-02-22 19:13:37 -05:00
Ac_K
8a385d2e26 Add an ASTC Decoder (Not currently used in Ryujinx) (#131)
* Add an ASTC Decoder (Not currently used in Ryujinx)

* Update ASTCDecoder.cs
2024-02-22 19:13:37 -05:00
gdkchan
9f22e38f25 Added support for more shader instructions and texture formats, fix swapped channels in RGB565 and RGBA5551? texture formats, allow zero values on blending registers, initial work to build CFG on the shader decoder, update the BRA instruction to work with it (WIP) 2024-02-22 19:13:37 -05:00
gdkchan
08dd15b8c8 Initial work to support AArch32 with a interpreter, plus nvmm stubs (not used for now) 2024-02-22 19:13:37 -05:00
Starlet
f156278fc2 [IApplicationFunctions/INvDrvServices] Stub GetPseudoDeviceId, FinishInitialize and add more pctl service names. (#127)
* [INvDrvServices] Stub FinishInitialize

* [IApplicationFunctions] Stub GetPseudoDeviceId

* I need to proofread my shit...

* Also add more pctl service names
2024-02-22 19:13:37 -05:00
gdkchan
4625af5d16 Fix wrong type on CMTST instruction 2024-02-22 19:13:37 -05:00
gdkchan
234fbde388 Remove some calls generated on the CPU for inexistent intrinsic methods 2024-02-22 19:13:37 -05:00
gdkchan
e08289662d Improve shader sending method to GAL, use a memory interface instead of reading a fixed array size and sending every time 2024-02-22 19:13:37 -05:00
Starlet
39a52d234d [SvcSystem/SvcMemory] Implement SvcGetInfo 16, SvcMapPhysicalMemory & SvcUnmapPhysicalMemory (#126)
* [SvcSystem] Implement SvcGetInfo 16

SvcGetInfo 16 always should be 1(?)

* Implement SvcMapPhysicalMemory &  SvcUnmapPhysicalMemory

* Adjusted to review.
2024-02-22 19:13:37 -05:00
Thomas Guillemard
32bf275e2e Add a C++ demangler (#119)
* Add a C++ demangler for PrintStackTrace

This is a simple C++ demangler (only supporting name demangling) that will
probably be enough for any stacktrace cases.

* Create Ryujinx.Core.OsHle.Diagnostics.Demangler and move DemangleName

* Rename Demangler -> Demangle + Fix coding style

* Starting a real parsing for demangler (still simple and no compression support yet)

* Partially implement decompression

* Improve compression support (still need to fix errored compression indexing)

* Some cleanup

* Fix Demangle.Parse call in PrintStackTrace

* Trim parameters result to get more clear prototypes

* Rename Demangle -> Demangler and fix access level

* Fix substitution possible issues also improve code readability

* Redo compression indexing to be more accurate

* Add support of not nested function name
2024-02-22 19:13:37 -05:00
gdkchan
060bbeb933 Add scalar variants of FCVTZS/FCVTZU, fix a issue on Ryushader 2024-02-22 19:13:37 -05:00