Thomas Guillemard
768676d629
Implement Shared Fonts ( #215 )
...
* Implement Shared Fonts
This fully implements shared fonts.
This commit is provided without fonts.
This commit also add Size to HSharedMem.Positions to be able to add fonts to shared zones when RequestLoad is called.
* Require the user to provide fonts in RyuFS/system
* Use File.Exits instead of relying ona try/catch and change system resource exception format a bit
* Make sure that font sum doesn't exceed 17MB
Also rename font data dictionary for coherence.
2018-08-04 18:38:49 -03:00
LDj3SNuD
b069a4125e
Add SQADD, UQADD, SQSUB, UQSUB, SUQADD, USQADD, SQABS, SQNEG (Scalar, Vector) instructions; add 24 Tests. Most saturation instructions now on ASoftFallback. ( #314 )
...
* Update AOpCodeTable.cs
* Update AInstEmitSimdHelper.cs
* Update AInstEmitSimdArithmetic.cs
* Update Pseudocode.cs
* Update Instructions.cs
* Update CpuTestSimd.cs
* Update CpuTestSimdReg.cs
* Update AInstEmitSimdHelper.cs
* Update AInstEmitSimdHelper.cs
* Update AInstEmitSimdHelper.cs
* Update AInstEmitSimdHelper.cs
* Update ASoftFallback.cs
* Update AInstEmitSimdHelper.cs
* Update ASoftFallback.cs
* Update AInstEmitSimdHelper.cs
* Update CpuTestSimd.cs
* Update CpuTestSimdReg.cs
* Update ASoftFallback.cs
* Update AInstEmitSimdHelper.cs
* Opt. (retest).
2018-08-04 16:58:54 -03:00
gdkchan
0ab6d0d9ee
Fix for integer vertex attributes and iset bf flag ( #323 )
2018-08-03 13:54:34 -03:00
AboodMadridista
898c873696
Use the more specific NotImplementedException type instead of just Exception ( #322 )
2018-08-02 21:58:48 -03:00
emmaus
feb0075319
moved metadata to process
2018-08-02 23:33:28 +03:00
emmauss
013ea228e6
Merge pull request #298 from Cyuubi/npdm
...
Add Npdm parsing into Ryujinx.HLE
2018-08-02 22:59:14 +03:00
ReinUsesLisp
024bd713b7
Sleep OpenAL thread ( #313 )
2018-08-01 00:48:49 -03:00
greggameplayer
10a4270b49
Implement A2B10G10R10 TextureFormat ( #248 )
...
* add A2B10G10R10 TextureFormat
* return correct PixelFormat & PixelType
* return correct texture size
* return correct Bytes Per Pixel
2018-07-29 01:41:02 -03:00
Starlet
ec1e71752e
Add 5.0.0 IPCs ( #300 )
...
* Implement 5.0.0 IPC
* Align ControlWithContext
2018-07-29 01:40:02 -03:00
ReinUsesLisp
300a2c1f17
Cache changes ( #302 )
...
* Skip repeated cache tests between same sync
* Skip some checks for regions where just one resource is resident
* Dehardcode residency page size
* Some cleanup
2018-07-29 01:39:15 -03:00
gdkchan
86a6621ad0
Some fix to IRequest on NIFM, support sending objects to services ( #294 )
2018-07-29 01:36:29 -03:00
ReinUsesLisp
5802879b61
Window related changes ( #308 )
...
* Use integer math for touch screen
* Sleep polling thread
* Rework host input
* Add fullscreen with F11 or Alt+Enter
* Address feedback
2018-07-29 01:35:36 -03:00
ReinUsesLisp
205e894910
Avoid calling buffer binding when shader didn't change ( #295 )
2018-07-26 13:49:29 -03:00
Arthur Chen
860e816740
update encoding for branch instruction ( #305 )
2018-07-26 13:46:05 -03:00
emmaus
805cda0985
implemented ListDisplays
2018-07-24 21:38:55 +00:00
ReinUsesLisp
0f76a7e1ad
Blit framebuffer without shaders ( #229 )
...
* Blit framebuffer without shaders
* De-hardcode native size values
* Adapt to dehardcoded framebuffers and address feedback
* Remove framebuffer rebinding
2018-07-23 16:21:05 +02:00
greggameplayer
df8ca2f6d0
Link BCAT:U & BCAT:A & BCAT:M & BCAT:S ( #257 )
...
* Link BCAT:U & BCAT:A & BCAT:M & BCAT:S
* delete unneeded using
* delete unneeded spaces
* delete unneeded using
* Add comment (1/2)
* Add comment (2/2)
* delete unneeded using
2018-07-23 16:20:16 +02:00
Ac_K
d24b67f100
Update ITimeZoneService.cs
...
Fix typo
2018-07-22 19:38:29 +00:00
Starlet
cec6d7840f
Add Npdm parsing into Ryujinx.HLE
2018-07-20 17:53:06 -04:00
Rygnus
1074629831
Stub AppletOE UnlockExit ( #279 )
...
* Implement AppletOE UnlockExit
2018-07-19 20:27:50 -03:00
ReinUsesLisp
01251c98ca
Send data to OpenGL host without client-side copies ( #285 )
...
* Directly send host address to buffer data
* Cleanup OGLShader
* Directly copy vertex and index data too
* Revert shader bind "cache"
* Address feedback
2018-07-19 16:02:51 -03:00
emmauss
18920f74c9
fix extra space
2018-07-19 18:53:49 +00:00
Thomas Guillemard
ca8e655898
Fix SystemPathToSwitchPath platform issues and make sure to delete temporary NRO after sessions dispose ( #293 )
2018-07-19 15:44:52 -03:00
emmauss
04850913a6
Added appveyor configuration file ( #277 )
2018-07-19 20:49:34 +03:00
mailwl
bb044fb417
.gitignore: ignore autogenerated launchSettings.json ( #292 )
...
thanks to @Cyuubi
2018-07-19 13:45:50 -03:00
ReinUsesLisp
73fb06b034
Implement Geometry shaders ( #280 )
...
* Implement Geometry shaders
* Add EmitVertex() and EndPrimitive()
* Read output geometry data from header
* Stub Vmad
* Add Iadd_I32
* Stub Mov_S (S2R)
* Stub Isberd
* Change vertex index to gpr39 in Abuf
* Add stub messages for consistency
* Do not print input block when there is no attributes
* Use GL_ARB_enhanced_layouts
* Skip geometry shaders when there's no GL_ARB_enhanced_layouts
* Address feedback
* Address feedback
2018-07-19 02:33:27 -03:00
Merry
8f29cb92f0
AOpCodeTable: Speed up instruction decoding ( #284 )
2018-07-19 02:32:37 -03:00
gdkchan
75d3add493
Support deswizzle of sparse tiled textures and some frame buffer fixes ( #275 )
...
* Attempt to support deswizzle of sparse tiled textures
* Use correct frame buffer and viewport sizes, started to clean up the copy engine
* Correct texture width alignment
* Use Scale/Translate registers to calculate viewport rect
* Allow texture copy between frame buffers
2018-07-19 02:30:21 -03:00
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