Ac_K
849a3bc49d
Implement SvcWaitForAddress 0x34 ( #289 )
...
* Implement SvcWaitForAddress 0x34
Currently needed by Sonic Mania Plus
* Fix mistake
* read-decrement-write locked
2018-07-19 01:03:53 -03:00
Ac_K
b324c0535a
Update IGeneralService.cs
...
Fixed little mistake on the debug string.
2018-07-19 03:10:51 +02:00
simonmkwii-dev
d8d0ad9863
Implement GetCurrentIpAddress() and stub GetCurrentNetworkProfile() ( #271 )
...
* Implement GetCurrentIpAddress()
...and stub GetCurrentNetworkProfile()
* Update IGeneralService.cs
* Actually implement it properly this time...
* <snip>
* Made some requested changes
* Added requested changes.
* Added more requested changes.
* oof
* Local > Address
* Cyuubumped
* Change PrintInfo > PrintDebug
* Revert change
2018-07-19 03:06:45 +02:00
LDj3SNuD
fce6fb5c20
Implement Ssubw_V and Usubw_V instructions. ( #287 )
...
* Update AOpCodeTable.cs
* Update AInstEmitSimdHelper.cs
* Update AInstEmitSimdArithmetic.cs
* Update AInstEmitSimdMove.cs
* Update AInstEmitSimdCmp.cs
* Update Instructions.cs
* Update CpuTestSimd.cs
* Update CpuTestSimdReg.cs
2018-07-18 21:06:28 -03:00
greggameplayer
81ddf0d6c0
Implement BF10GF11RF11 TextureFormat ( #246 )
...
* add BF10GF11RF11 TextureFormat
* return correct PixelFormat & PixelType
* return correct texture size
* return correct Bytes Per Pixel
* correct PixelType
2018-07-19 01:26:28 +02:00
greggameplayer
4ae38a669e
Implement Z24S8 TextureFormat ( #247 )
...
* add Z24S8 TextureFormat
* return correct PixelFormat & PixelType
* return correct texture size
* return correct Bytes Per Pixel
* Correct PixelType
2018-07-19 01:19:37 +02:00
emmauss
b609f95412
Implement IFileSystem:CleanDirectoryRecursively ( #283 )
...
* implement ifilesys:cleandirectoryrecursively
* clean up Ifilesystem
2018-07-18 21:05:17 +02:00
gdkchan
32dc0e573c
Fix wrong assignment and allow null FilePaths on Executable
2018-07-17 17:28:41 -03:00
ReinUsesLisp
368aa43389
Implement some shader instructions ( #252 )
...
* Add IADDI32, IADD and SEL shader instructions
* Add LOP shader instruction and fix LOP32I pass_b
* Add ISET shader instruction
* Add IADD3 shader instruction
* Address feedback
* Fixup OperA in Iadd_I32
2018-07-17 16:50:00 -03:00
Thomas Guillemard
64b0934cc0
hbabi: Implement argv ( #272 )
...
This commit implements the argv config key in Ryujinx (by creating a temporary copy of the homebrew executable in the sdmc VFS) to make it possible
to load libnx's "romfs" files.
This commit also call Os.Dispose in Ns.OnFinish to dispose all resources when exiting
2018-07-17 16:14:27 -03:00
gdkchan
2defe915c7
Fix LDXP/LDAXP when Rt == Rn ( #274 )
2018-07-16 15:57:15 -03:00
greggameplayer
16b71e832e
Implement BC6H_SF16 & BC6H_UF16 Texture Formats ( #255 )
...
* Implement BC6H_SF16 & BC6H_UF16
* correct coding style (1/5)
* correct coding style (2/5)
* correct coding style (3/5)
* correct coding style (4/5)
* correct coding style (5/5)
2018-07-16 15:09:34 -03:00
ReinUsesLisp
7ccd04b93b
Add config key to dump shaders in local directory ( #265 )
...
* Add config key to dump shaders in local directory
* Address feedback
2018-07-15 19:37:27 -03:00
LDj3SNuD
95f251e235
Fix EmitHighNarrow(), EmitSaturatingNarrowOp() when Rd == Rn || Rd == Rm (& Part != 0). Optimization of EmitVectorTranspose(), EmitVectorUnzip(), EmitVectorZip() algorithms (reduction of the number of operations and their complexity). Add 12 Tests about Trn1/2, Uzp1/2, Zip1/2 (V) instructions. ( #268 )
...
* Update CpuTestSimdArithmetic.cs
* Update CpuTestSimd.cs
* Update CpuTestSimdReg.cs
* Update Instructions.cs
* Update AInstEmitSimdArithmetic.cs
* Update AInstEmitSimdHelper.cs
* Update AInstEmitSimdMove.cs
* Delete CpuTestSimdMove.cs
2018-07-15 00:53:26 -03:00
gdkchan
95132dceee
Fix RevMagic on audren
2018-07-15 00:42:59 -03:00
gdkchan
50556d0149
Remove outdated comment
2018-07-15 00:37:30 -03:00
gdkchan
b9f6df8d90
Small nit on GetAudioRendererWorkBufferSize
2018-07-15 00:34:12 -03:00
gdkchan
83f8a44002
Add support for ioctl2, SetTimeout and KickoffPbWithAttr ( #261 )
...
* Add support for ioctl2, SetTimeout and KickoffPbWithAttr
* Call UnloadProcess on NvHostChannelIoctl aswell
2018-07-15 00:04:46 -03:00
gdkchan
d7201d5b99
Audio Renderer improvements ( #210 )
...
* Partial voice implementation on audio renderer
* Implemented audren resampler (based on original impl)
* Fix BiquadFilter struct
* Pause audio playback on last stream buffer
* Split audren/audout files into separate folders, some minor cleanup
* Use AudioRendererParameter on GetWorkBufferSize aswell
* Bump audren version to REV4, name a few things, increase sample buffer size
* Remove useless new lines
2018-07-14 23:57:41 -03:00
LDj3SNuD
f7a594ec13
Improve CountLeadingZeros() algorithm, nits. ( #219 )
...
* Update AInstEmitSimdArithmetic.cs
* Update ASoftFallback.cs
* Update ASoftFallback.cs
* Update ASoftFallback.cs
* Update AInstEmitSimdArithmetic.cs
2018-07-14 15:07:44 -03:00
gdkchan
dffe7c26dc
Allow using ulong max value as yield ( #263 )
2018-07-14 13:53:44 -03:00
gdkchan
107487c242
Add SMLSL, SQRSHRN and SRSHR (Vector) cpu instructions, nits ( #225 )
...
* Add SMLSL, SQRSHRN and SRSHR (Vector) cpu instructions
* Address PR feedback
* Address PR feedback
* Remove another useless temp var
* nit: Alignment
* Replace Context.CurrOp.GetBitsCount() with Op.GetBitsCount()
* Fix encodings and move flag bit test out of the loop
2018-07-14 13:13:02 -03:00
gdkchan
e4175c19e1
Some small shader related fixes ( #258 )
...
* Some small shader related fixes
* Address PR feedback
2018-07-14 13:08:39 -03:00
Starlet
2f9860a3fc
Implement CSRNG (Cryptographically Secure Random Bytes) ( #216 )
...
* Implement CSRNG (Cryptographically Secure Random Bytes)
* Compliant with review.
* Dispose Rng
2018-07-13 23:36:57 +02:00
Thomas Guillemard
02d3fc4cf2
TimeZone implements cmd 0, 1, 2, 3, 4 and 100 ( #250 )
...
The implementation of the TimezoneRule isn't matching hardware but
doesn't need to be accurate (games are only passing the value)
2018-07-13 23:35:19 +02:00
greggameplayer
1ef303d569
Add return of Texture Size and Bytes Per Pixel of ASTC2D 5x5, 6x6, 8x8, 10x10 and 12x12 ( #249 )
...
* return correct size of ASTC 5x5, 6x6, 8x8, 10x10 and 12x12
* return correct Bytes Per Pixel
* Use method in order to get CompressedTextureSize
* Add Read16BptCompressedTexture method
* add Bpb integer argument
2018-07-12 21:27:59 -03:00
Merry
9df1781527
AInstEmitSimdCvt: Half-precision to single-precision conversion ( #235 )
2018-07-12 15:51:02 -03:00
ReinUsesLisp
149583d68e
Loop GLScreen with custom method ( #244 )
...
* Loop GLScreen with custom method
* Fix deadlocks
* Fix screen resizing
* Change event to bool
* Try to fix quitting error
* Set title from main thread
* Queue max 1 vsync, fix high FPS after a slowdown
2018-07-12 14:03:52 -03:00
David
3c8f98a249
NvGetConfig with production/non production swapping ( #243 )
...
* GetConfig should return 0x30006 in production mode
* GetConfig will now check settings only if nv!rmos_set_production_mode is set to "0"
* Code formatting, TryGetValue
* Slight fixup
* dont forget the setting
* Implemented non production mode setting grabbing
* format issue
* style changes
2018-07-12 03:41:35 +02:00
Ac_K
3486576500
Update README.md
2018-07-12 00:08:20 +02:00
gdkchan
c4feec7a6a
Add locking methods to the ogl resource cache ( #238 )
...
* Add locking methods to the ogl resource cache
* Remove some unused arguments
* Add the ZF32 texture format
2018-07-09 23:01:59 -03:00
gdkchan
7796a93bd2
Allow sample rate of 0 on OpenAudioOut, fix 5.1 sound output ( #240 )
2018-07-09 22:49:07 -03:00
gdkchan
a1b1b10843
Fix ZIP/UZP/TRN instructions when Rd == Rn || Rd == Rm ( #239 )
2018-07-09 22:48:28 -03:00
gdkchan
70d0de42eb
Query multiple pages at once with GetWriteWatch ( #222 )
...
* Query multiple pages at once with GetWriteWatch
* Allow multiple buffer types to share the same page, aways use the physical address as cache key
* Remove a variable that is no longer needed
2018-07-08 16:55:15 -03:00
Merry
19538dd48c
ChocolArm64: More accurate implementation of Frecpe & Frecps ( #228 )
...
* ChocolArm64: More accurate implementation of Frecpe
* ChocolArm64: Handle infinities and zeros in Frecps
2018-07-08 16:54:47 -03:00
ReinUsesLisp
b623e12e70
Implement GPU primitive restart ( #221 )
2018-07-08 13:14:35 -03:00
gdkchan
2509dd11f4
Improvements to IAudioOutManager ( #232 )
...
* Improvements to IAudioOutManager
* Make implementation private
2018-07-08 12:42:10 -03:00
Merry
49dfa5598b
ASoftFloat: Fix InvSqrtEstimate for negative values ( #233 )
2018-07-08 12:41:46 -03:00
ReinUsesLisp
6e3f112e27
Disable front facing and face culling to avoid regression ( #226 )
...
* Disable tests for framebuffer blitting
2018-07-06 23:40:12 -03:00
ReinUsesLisp
1bc4d49e4d
Implement some GPU features ( #209 )
...
* Implement stencil testing
* Implement depth testing
* Implement face culling
* Implement front face
* Comparison functions now take OGL enums too
* Fix front facing when flipping was used
* Add depth and stencil clear values
2018-07-05 15:47:29 -03:00
gdkchan
94a27a9793
Remove broken adds/cmn with condition check optimization ( #218 )
2018-07-03 21:54:05 -03:00
gdkchan
e3f0ac8c96
Fix formatting on ISettingsServer
2018-07-03 21:45:41 -03:00
ReinUsesLisp
1fc69f2792
Add FaceAttr in GLSL, unmanaged case in EmitTex and ConstantColorG80 blend factor ( #207 )
...
* Add FaceAttr (0x3fc) input attribute in GLSL
* Implement unmanaged case in EmitTex
* Add ConstantColor for 0xC001 (G80) from PR #145
2018-07-03 20:06:13 -03:00
gdkchan
2cab46ba5a
Add SMAXP, SMINP, UMAX, UMAXP, UMIN and UMINP cpu instructions ( #200 )
2018-07-03 03:31:48 -03:00
LDj3SNuD
f306b74ab1
Add Rbit_V instruction. Add 8 tests (Rbit_V; Rev16_V, Rev32_V, Rev64_V). Improve CountSetBits8() algorithm. ( #212 )
...
* Update AOpCodeTable.cs
* Update AInstEmitSimdArithmetic.cs
* Update AInstEmitSimdLogical.cs
* Update AVectorHelper.cs
* Update ASoftFallback.cs
* Update Instructions.cs
* Update CpuTestSimd.cs
* Update CpuTestSimdReg.cs
* Improve CountSetBits8() algorithm.
* Improve CountSetBits8() algorithm.
2018-07-03 03:31:16 -03:00
John Clemis
754862561c
Add Controller Support ( #196 )
...
* Added Basic Controller Support
* Added Extra Configuration Options
Added a GamePad_Enable option and GamePad_Index option
* Revert "Added Extra Configuration Options"
This reverts commit 6cc56bfe7ed473fedf8dfe79c7a888bbe7cfe147.
* Revert "Revert "Added Extra Configuration Options""
This reverts commit 4809e5effe7f54cdb67bc5e2b4f01315ae34efc5.
* Forgot to change the Gamepad Index
* Added Configuration for the A B X Y Buttons
* Added Button Configuration for all other Buttons
* Added Basic Joystick Configuration
* Fixed Joystick Axis Problems
Fixed Joystick Axis Problems when switching around the Joysticks (Left Stick is Right and Right stick is Left)
* Refactored all of the button mapping code
* Changes in compliance with review
* Changes in compliance with review
* Fixed problems in the configuration file with different regions
* Changes in compliance with review
2018-07-02 19:08:54 -03:00
Thomas Guillemard
d2d490253a
Some things for time:* ( #211 )
...
- Fully implement ISystemClock
- Implement ISteadyClock 1.0 cmds
- Add cmd 300 to IStaticService
- Add EphemeralNetwork to SystemClockType
2018-07-02 02:03:05 +02:00
Lordmau5
9229b242a0
Implement GetReleasedAudioOutBufferAuto properly ( #206 )
...
* Implement GetReleasedAudioOutBufferAuto properly
* Also implement AppendAudioOutBufferAuto properly
2018-06-30 12:53:04 -03:00
Thomas Guillemard
c225a6a075
Add linux-x64 to RID property to make tests works on linux ( #205 )
2018-06-30 12:43:04 -03:00
LDj3SNuD
ff34ceaa3e
Add Saba_V, Sabal_V, Sabd_V, Sabdl_V, Uaba_V, Uabal_V; Update Uabd_V, Uabdl_V. Add 16 tests. ( #204 )
...
* Update AOpCodeTable.cs
* Update AInstEmitSimdArithmetic.cs
* Update AInstEmitSimdHelper.cs
* Update Instructions.cs
* Update CpuTest.cs
* Update CpuTestSimd.cs
* Update CpuTestSimdReg.cs
2018-06-30 12:40:41 -03:00